GetDelegate constructor

GetDelegate({
  1. GetPage? notFoundRoute,
  2. List<NavigatorObserver>? navigatorObservers,
  3. TransitionDelegate? transitionDelegate,
  4. PopMode backButtonPopMode = PopMode.History,
  5. 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 !');
}