You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the documentation, when using Modular.to.popUntil(ModalRoute.withName('/routeOne')) the pop is called repeatedly until the predicate is true. However, I have a problem that, when it finds the route passed in ModalRoute.withName, the predicate becomes true, but it also closes the informed route. I understand that this route should be kept on the stack. Am I right?
flutter_modular-5.0.3
According to the documentation, when using
Modular.to.popUntil(ModalRoute.withName('/routeOne'))
the pop is called repeatedly until the predicate is true. However, I have a problem that, when it finds the route passed inModalRoute.withName
, the predicate becomes true, but it also closes the informed route. I understand that this route should be kept on the stack. Am I right?How should it be:
That is, instead of navigating to 'routeC', it closes 'routeC' as well.
To solve this problem, it was necessary to use an unconventional way:
Is there a fix for this?
The text was updated successfully, but these errors were encountered: