Hi, i have doubt in provider, i have implemented MVVM architrcture. I failed to redirect the page in Login page after getting api response from LoginViewModel . can you send any reference to overcome my problem.
What is best state management for flutter as of 2022?
Flutter state is an absolute mess.
Android development is an absolute mess.
New and old and many options but no real proper way.
Pick one and stick to it. This video is from 2019, It's 2022 now. Now provider is the default choice when reading the docs.
Who knows what it will be in 3 years.
Pick one and stick to it. I'm so tired of learning and learning and not being productive.
Builder pattern blah pattern.
I wouldn't even care about flutter if oidc wasn't an even bigger mess and it's only a mess because of you, Android is megamess.
It works well in a browser but it doesn't work on Android. You have AppAuth and it's as complicated as can be. Why does everything have to be such a inflated, complicated mess at Google?
which vs code package is using?
i watched this piece and really love it.. the delivery and explanation of the concept was top notch. this will definately help and aid my journey of becoming a flutter developer. thank you google
When google uses mac...
Verry nice, thank so much 🥳🥳🥳
Very clear 👏
It's funny. That's the fail of declarative UI. Imperative style for the win.
Thanks
Great talk. Helped me a lot.......
Very informative! Thanks for the video.
Although the jokes made me cringe
this is super interesting
You can use your favorite search engine to search for it ;)
The whole video I was not sure if the fly is real or in the video... btw really nice info. I am starting to love Flutter
I am that much new to Flutter states that even, I found 6:57 really inspiring, and in fact I needed something like this for my recent projects lol
Thanks for the video, it was really fun and informative :)
reminds me of java
Good video for how to use and link stateful widgets. Thanks a lot!
Believe it or not this video was my first interaction with flutter when I began my journey in May 2020. It was unbelievably complex but I'm glad I dint give up. I've been a fan of Filip ever since.
C:\flutter\bin\flutter.bat --no-color pub get
Running "flutter pub get" in Flutter-Grocery...
Because fluttermultigrocery depends on google_sign_in_platform_interface ^3.0.0 which doesn't match any versions, version solving failed.
pub get failed (1; Because fluttermultigrocery depends on google_sign_in_platform_interface ^3.0.0 which doesn't match any versions, version solving failed.)
Process finished with exit code 1
Hi, I am a web developer with PHP background. Do you think I can shift to flutter? Is learning dart and flutter sufficient?
I seldom find it difficult and think that may be the guys with Android have much better advantage than me :(
Amazing Content 😍
Like I'm Fully Understand State Management ...
Thanks Bhaiya For This Amazing Video 😍
And Please Make Video On Bloc Pattern ... 🤓
❤️❤️❤️
Please make on advance level of provider and on block also
Bloc pattern
Great work Tushar!
this video is a little bit outdated. In my opinion the best option for beginners is provider, which might be replaced with bloc in big projects.
// ! RxDart Cheatsheet
// Step 1: Create global variable
BehaviorSubject counter = BehaviorSubject.seeded(0);
// Step 2: Access variable inside StreamBuilder
StreamBuilder(
stream: counter.stream,
builder: (context, snapshot) {
return Text('Count: ${snapshot.data}');
},
)
// Step 3: Modify the variable
counter.add(counter.value + 1);
// Step 4 (Optional): Close the stream when not required
@override
void dispose() {
counter.close()
}
For simplicity, consider using provider which has been recomended by the Flutter team for a while now.
11:38 also available on flutter
The fact that providers are not even mentioned here scares me a bit.
This video definitely needs an update.
I just use the getstorage package the flush the state to disk every time the window is closed or going to the background. And read it in on initstate. I do this per page. Is this considered bad design?
What do you guys think about Cubit?
Now we have Get library which is really amazing 😃
@7:12, What is stream$ ? Just another function name? Why use the $ sign?
Wow this is one pile of overengineered garbage
Get.put(data) and access it from anywhere down the tree even without context
Anyone used getX ?
I guess this video is just outdated, but as a Flutter Developer I mainly use Providers, which are (imo) the best Inherited Widget wrapper, less error prone, in which you can decide if you actually want to listen to changes or no. Another Widget I use a lot and I didn't see in this video is the Consumer Widget. That's just too easy to use and I highly recommend it (but it listens to changes by default).
Damn, i got lost
I just came across this video, it explains the fundamentals really good. I've ended up using riverpod after doing my research, but it is not mentioned in this video, maybe you could do a new one!! Great channel
The Elm Architecture is the godfather of redux and bloc and similar. I personally can distinguish two overarching ideas for state management: state-action-view or FRP. Web devs went through this, now it's flutter's time. However, Elm also used to use FRP but moved on as it didn't scale.
Did anyone use Getx or Stacked ?
Great content as usual. Still relevant in 2021 👍
I have created these packages:
1. super_easy_in_app_purchase
2. super_easy_permissions
These will make your life a lot easier :-)
thanks for the video!!
Hi , I came across getx package for state management.
What do you think about this package?
Thanks for the overview. I wonder if it is possible to recommend a state management package for a specific use case like a Flutter UI with a network client underneath that sends commands to a server and then react depending on the server responses, i.e. changes the UI. From the overview looks like BLOC is a good fit, but maybe I am wrong? What would you recommend?
hey i am trying to have the presentation but the link is dead :( is there anyother way to get it ?
Is it like global variables in a way?
I like your videos buddy. You crushing it!
Thanks for your explanation, it is clear enough.
1. Explanation of individual methods were very shallow.
2. Introduction wasnt concise. Over explained introduction.
Very low signal to noise ratio.
Max, thanks for the high level introduction to state management and the clean use of diagrams to support your descriptions!
12:10 Best State Management solution is here. :-)
In the context of State Management of Flutter, Can we say like State Class used to return the state object that contains Stateful Widget? [Especially when the createState() method called.]
Nice video mate!
I kept waiting for GetX. Besides, this state management package is more used and famous than all the others mentioned, except for Provider. Hopefully you'll talk about it later. Anyways. Thank you for making this video and again, nice Job! Sharing this vid.
Awesome content, keep up the good work.
Does stateless is like functional component in react?
That's a top quality video. You definitely deserve a lot more views and subscribers.
SUBED
Thanks for the video. Now I have a clear idea to start with State management
what think about Getx (get package)
I'm learning state management for the first time at moment. I loved the video as an overview of the current solutions. I can't wait for the provider video. I think it's the best one to start with for beginners.
Note: maybe it's my phone speaker, but the audio can be improved. It's slightly not enjoyable to listen to.
What are examples of too much boiler plate code with the provider package? It seems to have the least amount.