Тёмный

Flutter Navigator 2.0 Example, with some Provider 6 

Learn Flutter with Me
Подписаться 7 тыс.
Просмотров 8 тыс.
50% 1

Опубликовано:

 

21 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 18   
@tom110111
@tom110111 Год назад
Great video, so easy to watch your videos thank you. At the 4:00 mark, why do you remove navigation from details.dart page?
@johannhagen7308
@johannhagen7308 2 года назад
Music is so good!
@cosmindumbrava7365
@cosmindumbrava7365 3 года назад
Good video, straight to the point! But if you make the book list longer and scroll and navigate between tabs does it keep the page/scroll state?
@codaq4043
@codaq4043 2 года назад
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?
@LearnFlutterwithMe
@LearnFlutterwithMe 2 года назад
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!
@ВалерийГаврилов-ъ9х
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 ?
@LearnFlutterwithMe
@LearnFlutterwithMe 3 года назад
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!
@maganapanga4771
@maganapanga4771 2 года назад
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."
@pouryafx3993
@pouryafx3993 3 года назад
thanks for this tutorial , how to set animation when changing the rout?
@francescofreddi4374
@francescofreddi4374 3 года назад
very useful, but... why dont use Riverpod instead Provider? you have got less boilerplate code to write
@LearnFlutterwithMe
@LearnFlutterwithMe 3 года назад
honestly... I used provider because it's my most viewed video so far and thought it might help the stats haha! But yes I agree!
@mightyleena5983
@mightyleena5983 3 года назад
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
@LearnFlutterwithMe
@LearnFlutterwithMe 3 года назад
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!
@mightyleena5983
@mightyleena5983 3 года назад
@@LearnFlutterwithMe maybe also creating a nested collection and adding emoving elements from it ? thanks a lot !
@AhmedKhaled-gy9vs
@AhmedKhaled-gy9vs 3 года назад
👍👍👍👍👍👍👍👍👍👍
@AdhamFaisal875
@AdhamFaisal875 3 месяца назад
please upload source code
@AdhamFaisal875
@AdhamFaisal875 7 месяцев назад
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: 'package:flutter/src/widgets/navigator.dart':
Далее
What is happening with Flutter
3:41
Просмотров 151 тыс.
Dart/Flutter Enums Explained in 5 Minutes!
4:52
Просмотров 4,3 тыс.
Flutter Provider Tutorial (State Management)
8:20
Просмотров 80 тыс.
Pragmatic State Management in Flutter (Google I/O'19)
33:25
35 Flutter Tips That Will Change Your Life
10:53
Просмотров 307 тыс.
Flutter Navigator 2.0 for Beginners
9:35
Просмотров 53 тыс.