Milestone

This commit is contained in:
jantunesmesias 2024-08-27 08:34:18 -03:00
parent ce402ee988
commit cbbe2e36f8
1 changed files with 10 additions and 7 deletions

View File

@ -119,17 +119,20 @@ class _CardItemTemplateComponentWidgetState
return Container( return Container(
padding: const EdgeInsets.all(5), padding: const EdgeInsets.all(5),
width: MediaQuery.of(context).size.width * 0.2,
decoration: BoxDecoration( decoration: BoxDecoration(
color: color, color: color,
borderRadius: BorderRadius.circular(5), borderRadius: BorderRadius.circular(5),
), ),
child: Text( child: Center(
text, child: Text(
overflow: TextOverflow.ellipsis, text,
style: TextStyle( overflow: TextOverflow.ellipsis,
color: FlutterFlowTheme.of(context).info, style: TextStyle(
fontSize: 12, color: FlutterFlowTheme.of(context).info,
fontWeight: FontWeight.bold, fontSize: 12,
fontWeight: FontWeight.bold,
),
), ),
), ),
); );