About the Book
If I say, StafulWidget in Flutter is actually a StatelessWidget, you'll get confused!
If I had said, stateful widget didn't make any sense, either you wouldn't have agreed, or you would have got more confused!
Hope this book will help you to be a Better Flutter Developer who can manage state and make her Flutter App more performant. However, for state management always use the latest Provider Package, and maintain Null Safety.
I also strongly recommend to read the latest Flutter blog at my website.
Let me tell you the truth. The stateful widget, although might come to help for a tiny app where we need to change a single class property, doesn't really make any sense for a big, complex flutter app.
Why not? Because it unnecessarily rebuilds the widgets resulting in huge memory usage.
The best solution to manage state, so far, is Provider. However, very recently Riverpod, a modified version of Provider has been gaining popularity, since it does not depend on Flutter anymore and can work independently.
In this book I have explained every bits and pieces of state management in Flutter, so you no longer get confused about state management anymore.
I also help you to understand the mechanism involved inside this confusion. How Flutter uses a separate State object and actually makes stateful Widget immutable or stateless?
This book discusses that topic and more.
The first question that comes to mind is, then what is State in Flutter?
Is that a Widget too? Or a Class? Type? Object?
In this book we've discussed State in a great detail.
If you're an intermediate learner or advanced professional who are still struggling with the complex concept of State in Flutter, then this book is for you!
This book has shown how to manage State efficiently. How to make your Flutter app more performant.
To have more confidence you need to understand the concept of Inherited Widget and how Provider package as a Wrapper class uses that concept too!
And I've discussed that too in great detail.
About the Author
Sanjib Sinha has written six books for Apress; he also publishes at Leanpub and Amazon to share his learning-experience. Sanjib writes regularly at his websites: https://sanjibsinha.com on Flutter, Dart and Algorithm. If you can't afford to buy any book, feel free to contact him at firstname.lastname@example.org.