Create management portal in Flutter #39
Some checks are pending
BlockStorage/repertory/pipeline/head Build queued...

This commit is contained in:
Scott E. Graves 2025-03-14 14:54:40 -05:00
parent d920a55fc0
commit 0fd2dc3ddb

View File

@ -237,35 +237,28 @@ class _MountSettingsWidgetState extends State<MountSettingsWidget> {
}, },
), ),
], ],
content: Container( content: Column(
constraints: BoxConstraints(maxWidth: 200, maxHeight: 200),
child: Row(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.start, mainAxisAlignment: MainAxisAlignment.start,
mainAxisSize: MainAxisSize.min, mainAxisSize: MainAxisSize.min,
children: [ children: [
TextField( TextField(
autofocus: true, autofocus: true,
controller: TextEditingController( controller: TextEditingController(text: updatedValue1),
text: updatedValue1,
),
obscureText: true, obscureText: true,
obscuringCharacter: '*', obscuringCharacter: '*',
onChanged: (value) => updatedValue1 = value, onChanged: (value) => updatedValue1 = value,
), ),
const SizedBox(height: _padding, width: _padding), const SizedBox(height: _padding),
TextField( TextField(
autofocus: false, autofocus: false,
controller: TextEditingController( controller: TextEditingController(text: updatedValue2),
text: updatedValue2,
),
obscureText: true, obscureText: true,
obscuringCharacter: '*', obscuringCharacter: '*',
onChanged: (value) => updatedValue2 = value, onChanged: (value) => updatedValue2 = value,
), ),
], ],
), ),
),
title: Text(key), title: Text(key),
); );
}, },