The bottom nav bar i made doesnt need to use provider, it kind of just works out of the box, is there a reason to make a nav bar using provider instead?
I'll have to rewatch the video, it's been a while haha! But more than likely I just used the navbar as the widget for my example and it's not necessary/required. I'll update after I watch it if I see something else!
Hi, thank you for great tutorial ! But there is a question. Why did you omit router delegate (I mean a class extended from RouterDelegate with ChangeNotifier, PopNavigatorRouterDelegateMixin ) ? Usually lot of the tutorials suggest use the Delegate. Or I have to use the delegate only for web app ?
Honestly I'm not 100% sure but looking it up it does seem to reference URLs a lot which yeah would be for the web. Like I saw this in one article: "Unlike mobile apps, Flutter Web apps do not communicate with the OS since they are sandboxed in the Browser application. In this article, we will talk about the communication between the OS and the Router widget to stay consistent with the design docs, and simplicity." hopefully that answers your question. I'll keep a look out for it though and let you know if I see anything different!
Late to the party, but you can read about this in the Router documentation. As I understand, delegate is strongly recommended for web platform, otherwise not required: api.flutter.dev/flutter/widgets/Router-class.html "To opt out of URL updates entirely, pass null for routeInformationProvider and routeInformationParser. This is not recommended in general, but may be appropriate in the following cases: * The application does not target the web platform. * There are multiple router widgets in the application. Only one Router widget should update the URL (typically the top-most one created by the WidgetsApp.router, MaterialApp.router, or CupertinoApp.router). * The application does not need to implement in-app navigation using the browser's back and forward buttons. In other cases, it is strongly recommended to implement the RouterDelegate.currentConfiguration and RouteInformationParser.restoreRouteInformation APIs to provide an optimal user experience when running on the web platform."
can you make more videos about dealing with firebase ? because it has been a struggle. for example im trying to retrieve a specific element from a collection but honestly didn't find helpful and easy videos like yours
I'd be happy too, can you give me maybe an example of what I can show you more specifically? I want to make sure I touch on the right thing when I do it! Thanks!