gurleensethi / sailor

Easy page navigation and management in Flutter apps.
https://pub.dev/packages/sailor
MIT License
145 stars 24 forks source link

Redirect Features for routeGuards #28

Open stud0r opened 4 years ago

stud0r commented 4 years ago

It would be very helpful to provide a possibility to routeGuards for an error page in case a routeGuard evaluates to false. This could e.g. be an login page or an page to show that the user has insufficient rights.

CasperPas commented 4 years ago

I've been thinking about this too, and planning to implement it in the next few days (if no one did it first).