SintDelegate.createDelegate constructor
SintDelegate.createDelegate({
- SintPage? notFoundRoute,
- List<
SintPage> pages = const [], - TransitionDelegate? transitionDelegate,
- PopMode backButtonPopMode = PopMode.history,
- PreventDuplicateHandlingMode preventDuplicateHandlingMode = PreventDuplicateHandlingMode.reorderRoutes,
Implementation
factory SintDelegate.createDelegate({
SintPage<dynamic>? notFoundRoute,
List<SintPage> pages = const [],
List<NavigatorObserver>? navigatorObservers,
TransitionDelegate<dynamic>? transitionDelegate,
PopMode backButtonPopMode = PopMode.history,
PreventDuplicateHandlingMode preventDuplicateHandlingMode =
PreventDuplicateHandlingMode.reorderRoutes,
GlobalKey<NavigatorState>? navigatorKey,
}) {
return SintDelegate(
notFoundRoute: notFoundRoute,
navigatorObservers: navigatorObservers,
transitionDelegate: transitionDelegate,
backButtonPopMode: backButtonPopMode,
preventDuplicateHandlingMode: preventDuplicateHandlingMode,
pages: pages,
navigatorKey: navigatorKey,
);
}