VarxApp constructor

const VarxApp({
  1. Key? key,
  2. Color? primary,
  3. ThemeData? theme,
  4. ThemeData? darkTheme,
  5. TextTheme? textTheme,
  6. Iterable<LocalizationsDelegate>? localizationsDelegates,
  7. Locale? locale,
  8. Iterable<Locale> supportedLocales = const <Locale>[Locale('en', 'US')],
  9. List<NavigatorObserver> navigatorObservers = const <NavigatorObserver>[],
  10. String? initialRoute,
  11. List<GetPage>? getPages,
  12. Widget? home,
})

Implementation

const VarxApp({
  Key? key,
  this.primary,
  this.theme,
  this.darkTheme,
  this.textTheme,
  this.localizationsDelegates,
  this.locale,
  this.supportedLocales = const <Locale>[Locale('en', 'US')],
  this.navigatorObservers = const <NavigatorObserver>[],
  this.initialRoute,
  this.getPages,
  this.home,
}) : super(key: key);