NeuronApp constructor

const NeuronApp({
  1. Key? key,
  2. Widget? home,
  3. String? title,
  4. ThemeData? theme,
  5. ThemeData? darkTheme,
  6. ThemeMode? themeMode,
  7. List<NeuronRoute>? routes,
  8. String? initialRoute,
  9. RouteFactory? onGenerateRoute,
  10. RouteFactory? onUnknownRoute,
  11. bool debugShowCheckedModeBanner = false,
  12. bool enableDevTools = kDebugMode,
  13. int maxDevToolsEvents = 500,
  14. bool autoOpenDevDashboard = false,
  15. 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 [],
});