gurleensethi / sailor

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

Push new route only if it does not exist in navigationStack already #25

Open tapizquent opened 4 years ago

tapizquent commented 4 years ago

There should be a way to push a route IFF it does not exists in the route already. A behavior like this, would prohibit the user to add the RouteA an infinitely amount of times when maybe a simple pop to RouteB could have exposed RouteA.