fix: responsividade
This commit is contained in:
parent
9ec4a862b0
commit
9c8d96c5b7
|
@ -62,6 +62,7 @@ class _CardItemTemplateComponentWidgetState extends State<CardItemTemplateCompon
|
|||
|
||||
List<Widget> _generateLabels() {
|
||||
List<Widget> labels = [];
|
||||
double width = MediaQuery.of(context).size.width;
|
||||
|
||||
for (var key in labelsLinkedHashMap.keys) {
|
||||
String text = labelsLinkedHashMap[key].toString();
|
||||
|
@ -79,15 +80,18 @@ class _CardItemTemplateComponentWidgetState extends State<CardItemTemplateCompon
|
|||
),
|
||||
),
|
||||
const SizedBox(width: 2.5),
|
||||
Text(
|
||||
text,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: FlutterFlowTheme.of(context).bodyMedium.override(
|
||||
fontFamily: FlutterFlowTheme.of(context).bodyMediumFamily,
|
||||
fontSize: 12.5,
|
||||
letterSpacing: 0.0,
|
||||
fontWeight: FontWeight.bold,
|
||||
useGoogleFonts: GoogleFonts.asMap().containsKey(FlutterFlowTheme.of(context).bodyMediumFamily),
|
||||
SizedBox(
|
||||
width: 225,
|
||||
child: Text(
|
||||
text,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: FlutterFlowTheme.of(context).bodyMedium.override(
|
||||
fontFamily: FlutterFlowTheme.of(context).bodyMediumFamily,
|
||||
fontSize: 12.5,
|
||||
letterSpacing: 0.0,
|
||||
fontWeight: FontWeight.bold,
|
||||
useGoogleFonts: GoogleFonts.asMap().containsKey(FlutterFlowTheme.of(context).bodyMediumFamily),
|
||||
),
|
||||
),
|
||||
)
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue