TodoApp constructor
const
TodoApp({
- required Widget home,
- String title = '',
- ThemeData? theme,
- ThemeData? darkTheme,
- TodoLibData? libData,
- Locale? locale,
- TransitionBuilder? builder,
- Iterable<
LocalizationsDelegate> ? localizationsDelegates, - bool debugShowCheckedModeBanner = true,
- Size designSize = const Size(375, 667),
- Iterable<
Locale> supportedLocales = const <Locale>[Locale('en', 'US')], - Key? key,
Implementation
const TodoApp({
required this.home,
this.title = '',
this.theme,
this.darkTheme,
this.libData,
this.locale,
this.builder,
this.navigatorKey,
this.localizationsDelegates,
this.debugShowCheckedModeBanner = true,
this.designSize = const Size(375, 667),
this.navigatorObservers = const <NavigatorObserver>[],
this.supportedLocales = const <Locale>[Locale('en', 'US')],
Key? key,
}) : super(key: key);