This commit is contained in:
jantunesmesias 2024-08-09 13:12:24 -03:00
parent 72f44dd41b
commit 711b027890
1 changed files with 67 additions and 74 deletions

View File

@ -96,7 +96,7 @@ class _VisitRequestTemplateComponentWidgetState
fit: BoxFit.cover,
),
),
SizedBox(height: MediaQuery.of(context).size.height * 0.02),
SizedBox(height: MediaQuery.of(context).size.height * 0.03),
Row(
children: statusLinkedHashMap.expand((linkedHashMap) {
return linkedHashMap.entries
@ -177,7 +177,7 @@ class _VisitRequestTemplateComponentWidgetState
}).toList();
}).toList(),
),
SizedBox(height: MediaQuery.of(context).size.height * 0.02),
SizedBox(height: MediaQuery.of(context).size.height * 0.03),
ListView.builder(
shrinkWrap: true,
itemCount: labelsLinkedHashMap.length,
@ -186,12 +186,7 @@ class _VisitRequestTemplateComponentWidgetState
String key = labelsLinkedHashMap.keys.elementAt(index);
String value = labelsLinkedHashMap[key]!;
// return Text('key: $key, value: $value');
return Padding(
padding: EdgeInsets.symmetric(
horizontal: MediaQuery.of(context).size.width * 0.02,
vertical: MediaQuery.of(context).size.height * 0.01,
),
child: TextFormField(
return TextFormField(
readOnly: true,
initialValue: '$value',
style: FlutterFlowTheme.of(context).bodyMedium.override(
@ -265,14 +260,12 @@ class _VisitRequestTemplateComponentWidgetState
),
),
),
),
);
},
),
SizedBox(height: MediaQuery.of(context).size.height * 0.02),
if (widget.buttons.isNotEmpty)
const SizedBox(
height: 16), // Adicione este SizedBox com a altura desejada
if (widget.buttons
.isNotEmpty) // Adicione este SizedBox com a altura desejada
Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: widget.buttons,