Giter Club home page Giter Club logo

flutter-bottom-navigation-with-nested-routing-tutorial's Introduction

Flutter Bottom Navigation with Nested Routing Tutorial

Learn from ๐Ÿ‘‰ this post ๐Ÿ‘ˆ.

Find more tutorials on resocoder.com



Reso Coder
Be prepared for real app development

flutter-bottom-navigation-with-nested-routing-tutorial's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

flutter-bottom-navigation-with-nested-routing-tutorial's Issues

[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.

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( ^

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.