MainApp constructor

const MainApp({
  1. required String title,
  2. required ThemeData theme,
  3. required ThemeData darkTheme,
  4. required RouterConfig<Object>? router,
  5. bool themeMode = false,
  6. ScrollBehavior? scrollBehavior,
  7. List<LocalizationsDelegate> extraLocals = const [],
  8. BuildWidget? builder,
  9. 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,
});