Название: State in Flutter: A Guide to State Management in Flutter Автор: Sanjib Sinha Издательство: Leanpub Год: 2021-10-30 Страниц: 231 Язык: английский Формат: pdf (true), epub Размер: 23.1 MB
If I say, StafulWidget in Flutter is actually a StatelessWidget, you'll get confused! Right? 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.
Скачать State in Flutter: A Guide to State Management in Flutter
Внимание
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.