currentMaterialApp top-level property

MaterialApp currentMaterialApp
getter/setter pair

Implementation

MaterialApp currentMaterialApp = MaterialApp(
  localizationsDelegates: MaterialAppParams.localizationsDelegates,
  supportedLocales: MaterialAppParams.supportedLocales ?? const <Locale>[Locale('en', 'US')],
  locale: MaterialAppParams.locale,
  title: MaterialAppParams.appName ?? 'June',
  theme: MaterialAppParams.lightTheme,
  darkTheme: MaterialAppParams.darkTheme,
  themeMode: MaterialAppParams.themeMode ?? ThemeMode.system,
  debugShowCheckedModeBanner: false,
  builder: (context, child) {
    return child!;
  },
  home: MyAppHome ?? InitView(),
);