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