AuthenticationGuard constructor
AuthenticationGuard(
- BuildContext context, {
- required PageRouteInfo authRoute,
- required PageRouteInfo initialScreenRoute,
- required PageRouteInfo errorRoute(
- Object? error
- bool removeRoutesPredicateOnAuth(
- StackRouter router
Implementation
AuthenticationGuard(
this.context, {
required this.authRoute,
required this.initialScreenRoute,
required this.errorRoute,
this.removeRoutesPredicateOnAuth,
});