ОС
Size: a a a
EK
AZ
AZ
AV
factory User.fromEntity
, которая из поля fullname делает name + surname (или наоборот, из 2 полей делает одно, и вообще любая кастомная логика).MB
ServicesBinding.defaultBinaryMessenger was accessed before the binding was initialized.
PP
ServicesBinding.defaultBinaryMessenger was accessed before the binding was initialized.
PP
MB
void main() {
// debugPrintBuildScope = true;
if (kDebugMode) {
Fimber.plantTree(DebugTree());
}
// Pass all uncaught errors from the framework to Crashlytics.
FlutterError.onError = Crashlytics.instance.recordFlutterError;
final app = MaterialApp(
navigatorKey: NavManager.kNavigatorKey,
onGenerateTitle: (context) => context.str.applicationName,
theme: FFTheme.ffHandyscopeTheme,
localizationsDelegates: ffLocalizationDelegates,
supportedLocales: S.delegate.supportedLocales,
navigatorObservers: [
FirebaseAnalyticsObserver(analytics: FirebaseAnalytics())
],
routes: NavManager.routes);
setupGetIt();
WidgetsFlutterBinding.ensureInitialized();
runApp(MultiProvider(providers: diProviders, child: app));
}
PP
MB
PP
MB
MB
PP
PP
MB
MB