MainApp constructor
const
MainApp({
- required String title,
- required ThemeData theme,
- required ThemeData darkTheme,
- required RouterConfig<
Object> ? router, - bool themeMode = false,
- ScrollBehavior? scrollBehavior,
- List<
LocalizationsDelegate> extraLocals = const [], - BuildWidget? builder,
- Key? key,
Implementation
const MainApp({
required this.title,
required this.theme,
required this.darkTheme,
required this.router,
this.themeMode = false,
this.scrollBehavior,
this.extraLocals = const [],
this.builder,
super.key,
});