|
|
|
|
@ -178,7 +178,10 @@ class _MyApp extends State<MyApp> {
|
|
|
|
|
ChangeNotifierProvider<PayfortViewModel>(create: (context) => PayfortViewModel()),
|
|
|
|
|
],
|
|
|
|
|
child: Consumer<ProjectViewModel>(
|
|
|
|
|
builder: (context, projectProvider, child) => MaterialApp(
|
|
|
|
|
builder: (context, projectProvider, child) => SafeArea(
|
|
|
|
|
top: false, // Set to true if you want to avoid the notch area as well
|
|
|
|
|
bottom: Platform.isIOS ? false : true,
|
|
|
|
|
child: MaterialApp(
|
|
|
|
|
builder: (context, mchild) {
|
|
|
|
|
AppGlobal.projectViewModelContext = context;
|
|
|
|
|
return MediaQuery(
|
|
|
|
|
@ -215,6 +218,7 @@ class _MyApp extends State<MyApp> {
|
|
|
|
|
debugShowCheckedModeBanner: false,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
},
|
|
|
|
|
);
|
|
|
|
|
|