Compare commits

..

No commits in common. "d40d24f759d76ee95bbd2bd411fc1cd8f3d20385" and "0863878ebcbdf643913308e72258477026d0c2ef" have entirely different histories.

2 changed files with 2 additions and 4 deletions

View File

@ -84,6 +84,7 @@ class _MyHomePageState extends State<MyHomePage> {
return FutureBuilder( return FutureBuilder(
future: _initCompleter.future, future: _initCompleter.future,
builder: (context, snapshot) { builder: (context, snapshot) {
print("${snapshot.hasData}");
if (!snapshot.hasData) { if (!snapshot.hasData) {
return Center(child: CircularProgressIndicator()); return Center(child: CircularProgressIndicator());
} }

View File

@ -13,12 +13,9 @@ 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( padding: EdgeInsets.only(bottom: 32),
bottom: 32 + MediaQuery.of(context).viewInsets.bottom,
),
child: builder(context), child: builder(context),
), ),
), ),