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