Use SafeArea, fixes cut-off bottom

This commit is contained in:
franzap
2026-03-31 15:19:23 -03:00
parent dde4b1dd3d
commit f6a9c1bcd8
+3 -7
View File
@@ -151,12 +151,9 @@ class MobileScaffold extends ConsumerWidget {
),
],
),
child: MediaQuery.removePadding(
context: context,
removeBottom: true,
child: Padding(
padding: const EdgeInsets.only(bottom: 8),
child: Theme(
child: SafeArea(
top: false,
child: Theme(
data: Theme.of(context).copyWith(
splashFactory: NoSplash.splashFactory,
highlightColor: Colors.transparent,
@@ -294,7 +291,6 @@ class MobileScaffold extends ConsumerWidget {
),
),
),
),
);
}
}