Fix bottom sheets ignoring the bottom view inset
This commit is contained in:
parent
0863878ebc
commit
efe6178ed9
@ -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),
|
||||
),
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user