Compare commits
No commits in common. "d40d24f759d76ee95bbd2bd411fc1cd8f3d20385" and "0863878ebcbdf643913308e72258477026d0c2ef" have entirely different histories.
d40d24f759
...
0863878ebc
@ -84,6 +84,7 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||
return FutureBuilder(
|
||||
future: _initCompleter.future,
|
||||
builder: (context, snapshot) {
|
||||
print("${snapshot.hasData}");
|
||||
if (!snapshot.hasData) {
|
||||
return Center(child: CircularProgressIndicator());
|
||||
}
|
||||
|
@ -13,12 +13,9 @@ Future<T?> showDialogOrModal<T>({
|
||||
ScreenSize.small => showModalBottomSheet<T>(
|
||||
context: context,
|
||||
showDragHandle: showDragHandle,
|
||||
isScrollControlled: true,
|
||||
builder:
|
||||
(context) => Padding(
|
||||
padding: EdgeInsets.only(
|
||||
bottom: 32 + MediaQuery.of(context).viewInsets.bottom,
|
||||
),
|
||||
padding: EdgeInsets.only(bottom: 32),
|
||||
child: builder(context),
|
||||
),
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user