KappaApp constructor
const
KappaApp({
- Key? key,
- required List<
KappaModule> modules, - required String initialRoute,
- List<
KappaMiddleware> globalMiddlewares = const [], - Storage? storage,
- String? baseUrl,
- KappaEnv? env,
- List<
Interceptor> ? interceptors, - ThemeData? theme,
- ThemeData? darkTheme,
- ThemeMode themeMode = ThemeMode.system,
- String title = 'Kappa App',
- bool debugShowCheckedModeBanner = true,
Implementation
const KappaApp({
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 = 'Kappa App',
this.debugShowCheckedModeBanner = true,
});