INNER CODE UNIT · Dart

_MyApp

amake/orgro · lib/main.dart:88

class _MyApp extends StatelessWidget {
  const _MyApp();

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      navigatorKey: navigatorKey,
      restorationScopeId: 'orgro_root',
      // Work around https://github.com/flutter/flutter/issues/191072 by
      // avoiding using AppLocalizations.localizationDelegates and specifying
      // the delegates manually
      //
      // TODO(aaron): Remove pending upstream fix
      localizationsDelegates: [
        AppLocalizations.delegate,
        ...GlobalMaterialLocalizations.delegates,
      ],
      supportedLocales: AppLocalizations.supportedLocales,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…