SFWFApp constructor

const SFWFApp({
  1. Key? key,
  2. required SFWFConfig config,
  3. required Map<String, WidgetBuilder> routes,
  4. List<AppLifecycleHook>? lifecycleHooks,
  5. List<RouteDefinition>? routeDefinitions,
  6. ThemeData? theme,
  7. ThemeData? darkTheme,
  8. ThemeMode? themeMode,
  9. WidgetBuilder? notFoundBuilder,
  10. Map<String, RouteTransitionsBuilder>? customTransitions,
  11. Widget appWrapper(
    1. Widget child
    )?,
})

Implementation

const SFWFApp({
  super.key,
  required this.config,
  required this.routes,
  this.lifecycleHooks,
  this.routeDefinitions,
  this.theme,
  this.darkTheme,
  this.themeMode,
  this.notFoundBuilder,
  this.customTransitions,
  this.appWrapper,
});