NUIApp constructor

NUIApp({
  1. required BuildType buildType,
  2. required String title,
  3. required NUIFutureRoute homeScreen,
  4. Map<String, NUIRoute>? routes,
  5. String? initialRoute,
  6. RouteFactory? onGenerateRoute,
  7. ThemeDataInflaterFunction? themeDataDefault,
  8. required OverlayInflaterFunction? overlayStyle,
  9. required NUIRoute loadingScreen,
  10. AsyncFunction? preAppTask,
})

Implementation

NUIApp({
  required this.buildType,
  required this.title,
  required this.homeScreen,
  this.routes,
  this.initialRoute,
  // required this.themeData,
  this.onGenerateRoute,
  this.themeDataDefault,
  required this.overlayStyle,
  required this.loadingScreen,
  this.preAppTask
}){
  _appBuildType = buildType;
}