FKappaApp constructor

const FKappaApp({
  1. Key? key,
  2. required List<FKappaModule> modules,
  3. required String initialRoute,
  4. List<FKappaMiddleware> globalMiddlewares = const [],
  5. Storage? storage,
  6. String? baseUrl,
  7. FKappaEnv? env,
  8. List<Interceptor>? interceptors,
  9. ThemeData? theme,
  10. ThemeData? darkTheme,
  11. ThemeMode themeMode = ThemeMode.system,
  12. String title = 'fkappa App',
  13. bool debugShowCheckedModeBanner = true,
})

Implementation

const FKappaApp({
  super.key,
  required this.modules,
  required this.initialRoute,
  this.globalMiddlewares = const [],
  this.storage,
  this.baseUrl,
  this.env,
  this.interceptors,
  this.theme,
  this.darkTheme,
  this.themeMode = ThemeMode.system,
  this.title = 'fkappa App',
  this.debugShowCheckedModeBanner = true,
});