Book description
Explore popular state management techniques in Flutter and implement them in real-world applications
Key Features
- Get to grips with popular approaches for managing your Flutter application state
- Think declaratively in order to decide on the most fitting approach for different applications
- Learn to implement state management solutions by building a popular use case in the form of a shopping cart app
Book Description
Flutter is a cross-platform user interface (UI) toolkit that enables developers to create beautiful native applications for mobile, desktop, and the web with a single codebase. State management in Flutter is one of the most crucial and complex topics within Flutter, with a wide array of approaches available that can make it easy to get lost due to information overload.
Managing State in Flutter Pragmatically is a definitive guide to starting out with Flutter and learning about state management, helping developers with some experience of state management to choose the most appropriate solutions and techniques to use. The book takes a hands-on approach and begins by covering the basics of Flutter state management before exploring how to build and manipulate a shopping cart app using popular approaches such as BLoC/Cubit, Provider, MobX, and Riverpod. Throughout the book, you'll also learn how to adopt approaches from React such as Redux and all its types.
By the end of this Flutter book, you'll have gained a holistic view of all the state management approaches in Flutter, and learned which approach is the best solution for managing state in your app development journey.
What you will learn
- Understand the core concepts of different state management techniques used in Flutter
- Build optimal and performant applications in Flutter
- Develop an understanding of which technique to apply in what sort of apps
- Build the habit of writing clean state management code
- Produce code with techniques from beginner to advanced level for different state management solutions
- Use state management techniques to create robust and scalable apps in Flutter
Who this book is for
This book is for developers who have already started with their Flutter journey and are now looking to learn optimal state management approaches for app development. The book will also help less experienced Flutter engineers to find the best state management solution to fit their app, along with Flutter engineers who want to learn which state management approach should be taken under what circumstances.
Table of contents
- Managing State in Flutter Pragmatically
- Contributors
- About the author
- About the reviewer
- Preface
- Section 1:The Basics of State Management
- Chapter 1: States and State Management Overview
- Chapter 2: The Core Building Blocks of State Management
- Section 2:Types, Techniques, and Approaches
- Chapter 3: Diving into Advanced State Management Approaches
- Chapter 4: Adopting State Management Approaches from React
- Chapter 5: Executing Distinctive Approaches Like GetX, GetIt, and Binder
- Section 3:Code-Level Implementation
- Chapter 6: Creating a Shopping Cart Application Using Basic Approaches
-
Chapter 7: Manipulating a Shopping Cart Application through BLoC, Provider, and React-Based Approaches
- Technical requirements
- Creating a shopping cart application with BLoC
- Creating a shopping cart application with Cubit
- Creating a shopping cart application with Provider
- Creating a shopping cart application with Riverpod
- Creating a shopping cart application with Redux
- Creating a shopping cart application with MobX
- Summary
- Chapter 8: Using GetX, GetIt, and Binder to Update the Cart Application
- Chapter 9: Comparative State Management Analysis: When to Use What?
- Other Books You May Enjoy
Product information
- Title: Managing State in Flutter Pragmatically
- Author(s):
- Release date: November 2021
- Publisher(s): Packt Publishing
- ISBN: 9781801070775
You might also like
book
GraphQL in Action
Reduce bandwidth demands on your APIs by getting only the results you need—all in a single …
book
Flutter in Action
In 2017, consumers downloaded 178 billion apps, and analysts predict growth to 258 billion by 2022. …
book
Micro State Management with React Hooks
Explore global state management and select the best library for your application Key Features Understand the …
book
Building Event-Driven Microservices
Organizations today often struggle to balance business requirements with ever-increasing volumes of data. Additionally, the demand …