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