gurleensethi / sailor

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

Replacing a screen #21

Closed dacher996 closed 4 years ago

dacher996 commented 4 years ago

Hi there. I started using this package like a week ago, as I got it as a suggestion. And all I can say is that I love it. I enjoy using it given the simplicity of the package.

However when making my current app, I've gotten into a scenario where I need to replace my current screen (moving from a login screen to another screen) and disable returning back unless the user chooses to (i.e.: log out).

Will there be any possibility of making a replace method in the future? Are there any hacky ways of doing this now?

Edit: I am stupid. Should have researched more before posting here. Haven't seen 'navigationType' parameter in the navigate method.