Comments (2)
I've looked into AutoRouter.of(context).pushNamed("[name_of_page]")
and there's a _findPathScopeOrReportFailure, which for some reason sometimes it doesn't match with the WildCard ' * ' and it fails to navigate. I think my question boils down to is there any way to push on the navigation stack like pushNamed does but without having to look for paths to intentionally match with the WildCard "*"?
from auto_route_library.
I think I found a way around it. Some pages works if I add the forward slash in front of the account name like:
AutoRouter.of(context).navigateNamed("/rsegecin");
others without it
AutoRouter.of(context).navigateNamed("rsegecin");
and others only using navigateNamedTo
context.navigateNamedTo("rsegecin");
Its very inconcistent, I think the problem has to do something with the Nested AutoRoute but as it has a way around it I'm closing the issue for now.
from auto_route_library.
Related Issues (20)
- Nested navigation is not working as excepted. HOT 3
- How to pass arguments in auto_route pushNamed method HOT 1
- Unable to pop back to initial root context with nested routes in auto_route package
- Going back doesn't trigger didPop using AutoRouteAwareStateMixin
- Going back the parameters for the previous route are null HOT 1
- Routing problem after payment gateway.
- Removes Required keyword after codegen
- Is it possible to render stack of history in custom layout?
- Incorrect naming of routes
- Incorrect class reference in README documentation
- Hero animation not working on ShellRoutes? HOT 2
- AutoTabsRouter not updating url on nested sub-routes
- popUntilRoot without Visible Transitions HOT 2
- Hello everyone, I have an issue with GlobalKey<NavigatorState> navigatorKey in auto_router. HOT 1
- Generating issue need to use import instead of part in the app_router.dart file
- [Bug] Allow generic type define on Page
- Remove Splash Screen HOT 1
- CustomRoutes disable slide transition of dismissing screen HOT 1
- Incorrect meta value returned when navigating with navigateNamed for Nested Routes HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auto_route_library.