Compare commits

..
2 Commits
Author SHA1 Message Date
PapaTutuWawa d40d24f759 Remove debug print 2025-05-05 22:22:33 +02:00
PapaTutuWawa efe6178ed9 Fix bottom sheets ignoring the bottom view inset 2025-05-05 22:20:45 +02:00
2 changed files with 4 additions and 2 deletions

No files matched your search

-1
View File
@@ -84,7 +84,6 @@ class _MyHomePageState extends State<MyHomePage> {
return FutureBuilder(
future: _initCompleter.future,
builder: (context, snapshot) {
print("${snapshot.hasData}");
if (!snapshot.hasData) {
return Center(child: CircularProgressIndicator());
}
+4 -1
View File
@@ -13,9 +13,12 @@ Future<T?> showDialogOrModal<T>({
ScreenSize.small => showModalBottomSheet<T>(
context: context,
showDragHandle: showDragHandle,
isScrollControlled: true,
builder:
(context) => Padding(
padding: EdgeInsets.only(bottom: 32),
padding: EdgeInsets.only(
bottom: 32 + MediaQuery.of(context).viewInsets.bottom,
),
child: builder(context),
),
),