FlowerConfig constructor

FlowerConfig({
  1. required ValueChanged<Routing?>? routingCallback,
  2. required Transition? defaultTransition,
  3. required bool? opaqueRoute,
  4. required VoidCallback? onInit,
  5. required VoidCallback? onReady,
  6. required VoidCallback? onDispose,
  7. required bool? enableLog,
  8. required Logger? logWriterCallback,
  9. required bool? popGesture,
  10. required SmartManagement smartManagement,
  11. required List<Bind> binds,
  12. required Duration? transitionDuration,
  13. required bool? defaultGlobalState,
  14. required List<FlowerPage>? flowerPages,
  15. required FlowerPage? unknownRoute,
  16. required RouteInformationProvider? routeInformationProvider,
  17. required RouteInformationParser<Object>? routeInformationParser,
  18. required RouterDelegate<Object>? routerDelegate,
  19. required BackButtonDispatcher? backButtonDispatcher,
  20. required List<NavigatorObserver>? navigatorObservers,
  21. required GlobalKey<NavigatorState>? navigatorKey,
  22. required GlobalKey<ScaffoldMessengerState>? scaffoldMessengerKey,
  23. required Map<String, Map<String, String>>? translationsKeys,
  24. required Translations? translations,
  25. required Locale? locale,
  26. required Locale? fallbackLocale,
  27. required String? initialRoute,
  28. required CustomTransition? customTransition,
  29. required Widget? home,
  30. Color? primaryColor,
})

Implementation

FlowerConfig({
  required this.routingCallback,
  required this.defaultTransition,
  required this.opaqueRoute,
  required this.onInit,
  required this.onReady,
  required this.onDispose,
  required this.enableLog,
  required this.logWriterCallback,
  required this.popGesture,
  required this.smartManagement,
  required this.binds,
  required this.transitionDuration,
  required this.defaultGlobalState,
  required this.flowerPages,
  required this.unknownRoute,
  required this.routeInformationProvider,
  required this.routeInformationParser,
  required this.routerDelegate,
  required this.backButtonDispatcher,
  required this.navigatorObservers,
  required this.navigatorKey,
  required this.scaffoldMessengerKey,
  required this.translationsKeys,
  required this.translations,
  required this.locale,
  required this.fallbackLocale,
  required this.initialRoute,
  required this.customTransition,
  required this.home,
  this.primaryColor,
});