FlxApp constructor

const FlxApp({
  1. Key? key,
  2. String title = '',
  3. ThemeMode? themeMode,
  4. ThemeData? lightTheme,
  5. ThemeData? darkTheme,
  6. Locale? locale,
  7. List<Locale> locales = const [Locale('en', 'US')],
  8. Map<String, Widget Function(BuildContext)> routes = const {},
  9. List<LocalizationsDelegate>? delegates,
  10. String? initialRoute,
  11. Widget? initialWidget,
})

Implementation

const FlxApp({
  Key? key,
  this.title = '',
  this.themeMode,
  this.lightTheme,
  this.darkTheme,
  this.locale,
  this.locales = const [Locale('en', 'US')],
  this.routes = const {},
  this.delegates,
  this.initialRoute,
  this.initialWidget,
}) : super(key: key);