Create management portal in Flutter #39

This commit is contained in:
Scott E. Graves 2025-03-14 19:06:25 -05:00
parent dc817797f3
commit 7cbf1a3937

View File

@ -56,6 +56,7 @@ class _AddMountScreenState extends State<AddMountScreen> {
mainAxisSize: MainAxisSize.max, mainAxisSize: MainAxisSize.max,
children: [ children: [
Card( Card(
margin: EdgeInsets.all(0.0),
child: Padding( child: Padding(
padding: const EdgeInsets.all(constants.padding), padding: const EdgeInsets.all(constants.padding),
child: Row( child: Row(
@ -84,10 +85,9 @@ class _AddMountScreenState extends State<AddMountScreen> {
), ),
), ),
), ),
if (_mountType.isNotEmpty)
const SizedBox(height: constants.padding),
if (_mountType.isNotEmpty) if (_mountType.isNotEmpty)
Card( Card(
margin: EdgeInsets.all(0.0),
child: Padding( child: Padding(
padding: const EdgeInsets.all(constants.padding), padding: const EdgeInsets.all(constants.padding),
child: Column( child: Column(
@ -113,6 +113,7 @@ class _AddMountScreenState extends State<AddMountScreen> {
if (_mount != null) if (_mount != null)
Expanded( Expanded(
child: Card( child: Card(
margin: EdgeInsets.all(0.0),
child: Padding( child: Padding(
padding: const EdgeInsets.all(constants.padding), padding: const EdgeInsets.all(constants.padding),
child: MountSettingsWidget( child: MountSettingsWidget(
@ -124,6 +125,7 @@ class _AddMountScreenState extends State<AddMountScreen> {
), ),
), ),
), ),
if (_mount != null) const SizedBox(height: constants.padding),
if (_mount != null) if (_mount != null)
Builder( Builder(
builder: (context) { builder: (context) {