ConfigData constructor
ConfigData({
- required ValueChanged<
Routing?> ? routingCallback, - required Transition? defaultTransition,
- required bool? opaqueRoute,
- required VoidCallback? onInit,
- required VoidCallback? onReady,
- required VoidCallback? onDispose,
- required bool? enableLog,
- required Logger? logWriterCallback,
- required bool? popGesture,
- required SmartManagement smartManagement,
- required List<
Bind> binds, - required Duration? transitionDuration,
- required bool? defaultGlobalState,
- required List<
FlowerPage> ? flowerPages, - required FlowerPage? unknownRoute,
- required RouteInformationProvider? routeInformationProvider,
- required RouteInformationParser<
Object> ? routeInformationParser, - required RouterDelegate<
Object> ? routerDelegate, - required BackButtonDispatcher? backButtonDispatcher,
- required GlobalKey<
ScaffoldMessengerState> ? scaffoldMessengerKey, - required Map<
String, Map< ? translationsKeys,String, String> > - required Translations? translations,
- required Locale? locale,
- required Locale? fallbackLocale,
- required String? initialRoute,
- required CustomTransition? customTransition,
- required Widget? home,
- Color? primaryColor,
Implementation
ConfigData({
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,
});