TodoApp constructor

const TodoApp({
  1. required Widget home,
  2. String title = '',
  3. ThemeData? theme,
  4. ThemeData? darkTheme,
  5. TodoLibData? libData,
  6. Locale? locale,
  7. TransitionBuilder? builder,
  8. GlobalKey<NavigatorState>? navigatorKey,
  9. Iterable<LocalizationsDelegate>? localizationsDelegates,
  10. bool debugShowCheckedModeBanner = true,
  11. Size designSize = const Size(375, 667),
  12. List<NavigatorObserver> navigatorObservers = const <NavigatorObserver>[],
  13. Iterable<Locale> supportedLocales = const <Locale>[Locale('en', 'US')],
  14. 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);