From 9c8d96c5b70b8273889bbd8080f4dcdf76ecafeb Mon Sep 17 00:00:00 2001 From: Ivan Antunes Date: Mon, 26 Aug 2024 13:02:10 -0300 Subject: [PATCH] fix: responsividade --- .../card_item_template_component_widget.dart | 22 +++++++++++-------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/lib/components/templates_components/card_item_template_component/card_item_template_component_widget.dart b/lib/components/templates_components/card_item_template_component/card_item_template_component_widget.dart index ecaa7b34..3159c9ca 100644 --- a/lib/components/templates_components/card_item_template_component/card_item_template_component_widget.dart +++ b/lib/components/templates_components/card_item_template_component/card_item_template_component_widget.dart @@ -62,6 +62,7 @@ class _CardItemTemplateComponentWidgetState extends State _generateLabels() { List 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