Closed lala-naibova closed 1 year ago
ScreenUtilInit( designSize: const Size(375, 812), minTextAdapt: true, builder: (context, child) { return MaterialApp( locale: const Locale('en'), debugShowCheckedModeBanner: false, localizationsDelegates: const [ AppLocalizationsDelegate(), GlobalMaterialLocalizations.delegate, GlobalWidgetsLocalizations.delegate, GlobalCupertinoLocalizations.delegate, ], supportedLocales: const [ //Locale('en', ''), //Locale('ru', ''), ], builder: EasyLoading.init(), localeResolutionCallback: (Locale? locale, Iterable<Locale> supportedLocales) { var locale1 = supportedLocales.firstWhere( (element) => element.languageCode == locale!.languageCode, orElse: () => supportedLocales.first); return locale1; }, onGenerateRoute: AppRouter.onGenerateRoute, home: child, ); }, child: const SplashScreen(), )
Hi Lala, I hope you are well. My two cents: Could you please specify what does not work?
It was my mistake, everything works fine