r/FlutterDev • • May 06 '19

Community Flutter @ Google I/O 2019

Google I/O is happening May 7-9! A livestream will be available from the Google Developers YouTube channel. Here are all the events that are related to Flutter:

Streamed sessions (time in PDT):

Tuesday, May 7

Wednesday, May 8

Thursday, May 9

Codelabs

There are also some new & updated codelabs available.

Live chat on Discord

Join us on our Discord chat server to discuss the event in real time. We’ll have a dedicated channel for Google I/O.

108 Upvotes

42 comments sorted by

View all comments

10

u/[deleted] May 06 '19

[removed] — view removed comment

5

u/[deleted] May 06 '19

This. I get why they have an opinionated take on this, but the different solutions essentially make it hard to decide which is ideal. More so, the docs provide different ways to solve this issue, further confusing things a bit.

10

u/Lukeaf May 06 '19

Until the "canonical" way is not the one you want. There is `setState` now and it's entirely usable for state management but people complain about it not being what they want. I made the Hamilton app using the vanilla state management mechanism and I can vouch that it works. The code isn't a horrible, unmaintainable nightmare.

Choice is a good thing. Just pick one thing and don't worry about the rest. I use a combination of `scoped_model` and Flutter vanilla state for my projects. If I need more I'll add it but, for the most, I haven't needed to bother.

Flutter is pretty flexible so swapping out those things isn't a huge deal in my experience. If you want to go all in on bloc, rxdart, or some redux frankenstein do that also :)

2

u/[deleted] May 06 '19

Do you just pass setState down to child widgets?