Better form UI spacing

This commit is contained in:
Imran Remtulla
2023-03-17 23:03:38 -04:00
parent 0f3e029312
commit 1143b6a546

View File

@ -460,10 +460,9 @@ class _GeneratedFormState extends State<GeneratedForm> {
if (rowInputs.key > 0) { if (rowInputs.key > 0) {
rows.add([ rows.add([
SizedBox( SizedBox(
height: widget.items[rowInputs.key][0] is GeneratedFormSwitch && height: widget.items[rowInputs.key - 1][0] is GeneratedFormSwitch
widget.items[rowInputs.key - 1][0] is! GeneratedFormSwitch ? 8
? 25 : 25,
: 8,
) )
]); ]);
} }