FlxApp constructor
const
FlxApp({
- Key? key,
- String title = '',
- ThemeMode? themeMode,
- ThemeData? lightTheme,
- ThemeData? darkTheme,
- Locale? locale,
- List<
Locale> locales = const [Locale('en', 'US')], - Map<
String, Widget Function(BuildContext)> routes = const {}, - List<
LocalizationsDelegate> ? delegates, - String? initialRoute,
- 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);