flutter-bottom-navigation-with-nested-routing-tutorial's Issues
Error: Required named parameter 'type' must be provided.
Running Gradle task 'assembleDebug'... ../../development/flutter/.pub-cache/hosted/pub.dartlang.org/auto_route-2.3.2/lib/src/router/widgets/auto_router_delegate.dart:43:43: Error: Required named parameter 'type' must be provided. ?.routerReportsNewRouteInformation( ^
Out of date according to auto_route 6.0.0 with breaking changes
[DISCUSSION] Re-using posts, post pages
Hello.
Thank you for sharing this project and associated tutorial with us.
The end-results of your project doesn't match most of the structures I use in mobile. To stress here, this is because I'm used to specific app structure inherited from previous projects, rather than short-coming on your work. I tried to build on your work to find how I can implement the following:
- Accessing user's posts without using
navigateTo
which would jump the current user across tabs. - Getting to access post page from anywhere in the app, using one route only.
The first was quite straight-froward; I simply converted single-user route to a parent route including a child for posts route. Re-build, re-run and now I can get to access user's posts from his profile page.
Second point was more tricky. No matter what I did in attempt to push the same named route in current tab, I yielded errors. Lastly, I tried a behaviour that is common in react-native apps, which is keeping common pages as root-based routes, in which it results in the page covering the whole screen when navigated to from any page. I had to add an app-bar to get the back button. This worked, though this is not the end-results I would wish for.
Now, I want to hear your opinion on these:
- What do you think of this? Is this something that is prohibited in flutter-land for any reasons? Or, a welcome change?
- If you ignore my changes, how would you implement the requirements I listed in the beginning?
Thanks again for your work and looking forward to discussing with you this topic.
Nested routing have drastic changes in newer version
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.