NeuronApp constructor
const
NeuronApp({ - Key? key,
- Widget? home,
- String? title,
- ThemeData? theme,
- ThemeData? darkTheme,
- ThemeMode? themeMode,
- List<NeuronRoute>? routes,
- String? initialRoute,
- RouteFactory? onGenerateRoute,
- RouteFactory? onUnknownRoute,
- bool debugShowCheckedModeBanner = false,
- bool enableDevTools = kDebugMode,
- int maxDevToolsEvents = 500,
- bool autoOpenDevDashboard = false,
- List<NeuronNavigationMiddleware> middlewares = const [],
})
Implementation
const NeuronApp({
super.key,
this.home,
this.title,
this.theme,
this.darkTheme,
this.themeMode,
this.routes,
this.initialRoute,
this.onGenerateRoute,
this.onUnknownRoute,
this.debugShowCheckedModeBanner = false,
this.enableDevTools = kDebugMode,
this.maxDevToolsEvents = 500,
this.autoOpenDevDashboard = false,
this.middlewares = const [],
});