Update to stores, VersionID 9.2

master
haroon amjad 3 months ago
parent f6df04c432
commit 1bb44039d6

@ -82,7 +82,10 @@ class MyApp extends StatelessWidget {
List<LocalizationsDelegate<dynamic>> delegates = context.localizationDelegates; List<LocalizationsDelegate<dynamic>> delegates = context.localizationDelegates;
// delegates.add(GlobalMaterialLocalizations.delegate); // delegates.add(GlobalMaterialLocalizations.delegate);
delegates.add(MonthYearPickerLocalizations.delegate); delegates.add(MonthYearPickerLocalizations.delegate);
return MaterialApp( return SafeArea(
top: false,
bottom: Platform.isAndroid ? true : false,
child: MaterialApp(
navigatorKey: AppRoutes.navigatorKey, navigatorKey: AppRoutes.navigatorKey,
builder: (BuildContext context, Widget? child) { builder: (BuildContext context, Widget? child) {
return MediaQuery(data: MediaQuery.of(context).copyWith(textScaleFactor: 1.0), child: child!); return MediaQuery(data: MediaQuery.of(context).copyWith(textScaleFactor: 1.0), child: child!);
@ -94,6 +97,7 @@ class MyApp extends StatelessWidget {
locale: context.locale, locale: context.locale,
initialRoute: AppRoutes.initialRoute, initialRoute: AppRoutes.initialRoute,
routes: AppRoutes.routes, routes: AppRoutes.routes,
),
); );
}, },
); );

Loading…
Cancel
Save