r/FlutterDev • • May 13 '20

Discussion Get? Get!

So, I'm new to Flutter. I've only been learning it over the past month — only been coding for the past six months or so. State management has been really tough to come to grips with. I've been trying out a few different approaches and Provider, or the Stacked ... uhm, stack, have seemed the simplest approach to get started.

But then I started reading up on how Stacked uses a library called Get for routing. So I read-up on Get's pub page and see that the library has its own stupidly simple approach to managing state. Like, it's too easy.

Has anyone else had a chance to play around with it? I'd like to know if there's a reason not to ditch all of the other approaches in favor of this total simplicity.

19 Upvotes

32 comments sorted by

View all comments

12

u/ajinasokan May 14 '20

It looks very simple. But the following line from readme threw me off:

Using StatefulWidgets means storing the state of entire screens unnecessarily. With Get the use of StatefulWidget is optional. Avoid them and save your users' RAM.

Who is teaching these?!

9

u/Fienases May 14 '20

That readme spread so many false information