BaseApp constructor

BaseApp({
  1. String title = "",
  2. bool useMaterial3 = true,
  3. ThemeMode themeMode = ThemeMode.system,
  4. String? initialRoute,
  5. Widget? home,
  6. TransitionBuilder? builder,
  7. List<NavigatorObserver> navigatorObservers = const <NavigatorObserver>[],
  8. ValueChanged<Routing?>? routingCallback,
  9. RouteFactory? onGenerateRoute,
  10. List<GetPage>? getPages,
  11. Iterable<LocalizationsDelegate>? localizationsDelegates,
  12. Iterable<Locale> supportedLocales = const <Locale>[Locale('en', 'US')],
  13. Locale? locale,
  14. LocaleResolutionCallback? localeResolutionCallback,
  15. bool? debugShowCheckedModeBanner,
  16. bool? showDebugTools,
})

Implementation

BaseApp({
  this.title = "",
  this.useMaterial3 = true,
  this.themeMode = ThemeMode.system,
  this.initialRoute,
  this.home,
  this.builder,
  this.navigatorObservers = const <NavigatorObserver>[],
  this.routingCallback,
  this.onGenerateRoute,
  this.getPages,
  this.localizationsDelegates,
  this.supportedLocales = const <Locale>[Locale('en', 'US')],
  this.locale,
  this.localeResolutionCallback,
  this.debugShowCheckedModeBanner,
  this.showDebugTools,
});