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>(
|
ScreenSize.small => showModalBottomSheet<T>(
|
||||||
context: context,
|
context: context,
|
||||||
showDragHandle: showDragHandle,
|
showDragHandle: showDragHandle,
|
||||||
|
isScrollControlled: true,
|
||||||
builder:
|
builder:
|
||||||
(context) => Padding(
|
(context) => Padding(
|
||||||
padding: EdgeInsets.only(bottom: 32),
|
padding: EdgeInsets.only(
|
||||||
|
bottom: 32 + MediaQuery.of(context).viewInsets.bottom,
|
||||||
|
),
|
||||||
child: builder(context),
|
child: builder(context),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user