GetDelegate constructor
GetDelegate({
- GetPage? notFoundRoute,
- TransitionDelegate? transitionDelegate,
- PopMode backButtonPopMode = PopMode.History,
- PreventDuplicateHandlingMode preventDuplicateHandlingMode = PreventDuplicateHandlingMode.ReorderRoutes,
Implementation
GetDelegate({
GetPage? notFoundRoute,
this.navigatorObservers,
this.transitionDelegate,
this.backButtonPopMode = PopMode.History,
this.preventDuplicateHandlingMode =
PreventDuplicateHandlingMode.ReorderRoutes,
}) : notFoundRoute = notFoundRoute ??
GetPage(
name: '/404',
page: () => const Scaffold(
body: Text('Route not found'),
),
) {
Get.log('GetDelegate is created !');
}