BaseApp constructor
BaseApp({
- String title = "",
- bool useMaterial3 = true,
- ThemeMode themeMode = ThemeMode.system,
- String? initialRoute,
- Widget? home,
- TransitionBuilder? builder,
- ValueChanged<
Routing?> ? routingCallback, - RouteFactory? onGenerateRoute,
- List<
GetPage> ? getPages, - Iterable<
LocalizationsDelegate> ? localizationsDelegates, - Iterable<
Locale> supportedLocales = const <Locale>[Locale('en', 'US')], - Locale? locale,
- LocaleResolutionCallback? localeResolutionCallback,
- bool? debugShowCheckedModeBanner,
- 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,
});