1. Getting Started
- Download Latest Flutter
- Who should read this book?
- Many options to manage State in Flutter
- Flutter for Windows
- Flutter for macOS and Linux
2. What is the difference between stateless widget and stateful widget in Flutter?
- What is stateless widget in Flutter?
- Stateless widget flutter Example
- What is build method in Flutter?
- How do you rebuild widgets in Flutter?
- When Should I call setState Flutter?
3. What is callback in Flutter? How do you pass a function in Flutter?
- What is callback?
- What is callback in Flutter?
- How do you call widgets in Flutter?
4. What is a map in Flutter? How do you map a list in Flutter?
- What is the key concept of State Management in Flutter?
- What is a map in Flutter?
- How do you map a list in Flutter?
5. Why is state management in Flutter? What is flutter state?
- How we change the widget state in Flutter?
- How to manage state of child through parent widget?
- How do you use stateful widget Flutter?
- How a Child Widget exports its state to its parent
- How Child Widget implements this special property?
- How the export and import of state take place
6. How many types of widgets are there in Flutter?
- What are visible widgets?
- What are the widgets in Flutter?
- How do I create a Custom widget in Flutter?
7. What is inherited widget in Flutter, how do you use state management?
- What is InheritedWidget in Flutter?
- How do you manage state efficiently?
- InheritedWidget manages state efficiently, but is that all?
- How do you use an inherited widget in Flutter?
- We keep our inherited widgets in a separate folders
- How do you manage state through inherited widgets?
- Extending state management to the second uncle and his child
8. What is flutter provider? How does provider flutter work?
- Why we need a Model?
9 . How do you use Provider Consumer to manage State in Flutter?
- How do you use Provider Consumer?
- What is the Problem in managing state in Flutter?
- How Flutter helps us to manage State?
- How could we notify Listeners?
- The Specific Steps to use Consumer widget
10. How do you use onPressed in flutter?
- How do you use onPressed in flutter?
- How do you call a function in flutter?
- What is flutter function?
- What is callback in flutter?
11. Provider: A recommended approach to manage State
- Ephemeral State or Single Widget is not enough
- Different approaches to state management
- A Step by Step guide to use Provider
- Multi Providers and Multi Models
12. How to Organize Flutter Code, Model-View-Controller Patterns
- The Role of Model
- The role of Controller
- The Role of View
13. ChangeNotifier and Provider context read and watch, when to use and how to use
- How can I improve my fluttering performance?
- How to avoid the anti-pattern and stick to the correct design pattern in Flutter?
- How have we got rid of widget rebuild in Flutter?
- How do you change the state in Flutter?
- What is ChangeNotifier?
- What is the difference between stateful and stateless widget in Flutter?
- What does provider do in Flutter?
- Provider helps you to avoid rebuilding widgets
14. Provider best practices: How to reduce widget rebuilds
- How do you use a provider in Flutter?
- When do I use stateful widget? Or, should I?
- How does stateful widget rebuild the whole tree?
- Model, View, Controller and Provider
- Model folder has three classes
- The Second Row Widget will listen to the Name Change Model
- Third Row Widget listens to Name Clear Model
- Finally the view folder and main method
- Here comes our Home Page
15. Riverpod, a better Provider for state management
- Riverpod has many options
- The greatest advantage of Riverpod
- The Data Model on which we’ll work in Riverpod
- Understanding Riverpod Scope
- How to watch a Provider object in Riverpod?
- How we can mix Riverpod Provider with old Provider package?
- The old Provider package is really gold!
16. Riverpod ChangeNotifierProvider Widget and why it is important to autodispose
- ChangeNotifierProvider in Provider package
- What is autodispose and why it is important?
- How to wrap a state object in a Riverpod Provider?
17. StateProvider in Riverpod, another Provider variant that makes State Management Simple
- What is StateProvider in Riverpod?
- App structure and segments
- StateProvider provides the state object
- Where Riverpod differs with the Package Provider?
- The controller widgets that build the business logic
- The data model of StateProvider
- How to read a StateProvider in Riverpod?
- There are multiple ways to read the StateProvider
- Watching the StateProvider
- Watch and Read the final StateProvider of our Flutter app
- Model to Controller to View
18. What is StateNotifier and StateNotifierProvider in Riverpod Flutter? How it reduces Widget Rebuilds?
- Data model of StateNotifierProvider
- The watch() and read() of StateNotifierProvider
- The relation between StateNotifierProvider and StateNotifier, a complex app structure
- How StateNotifierProvider reduces widget rebuilds?
- What does StateNotifierProvider in Riverpod mean?
- What kind of state we need to notify and provide?
- More you break, your code becomes more readable and maintanable
- How HomeStateNotifierProvider listens to NameNotifier
- How CartNotifierProvider listens to CartNotifier
19. Riverpod migration, WidgetRef ref, and What is new in Riverpod
- Why we need the latest Flutter and Dart SDK?
- Is Riverpod better than Provider?
- What is a WidgetRef?
- Model class with StateNotifierProvider in new Riverpod
