Results for “ChangeNotifier”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Concepts
- State management3.47.7state
through an InheritedWidget (or a package that wraps one), and notify listeners with ChangeNotifier so only dependent widgets rebuild. Ephemeral (local) state lives in one widget
- Forms and validation3.47.7forms
Wrap your fields in a Form, give it a GlobalKey , and put
- Networking and JSON3.47.7data
Use package:http to send a request, await the Future , check the
Guides
- Simple app state managementdoc
A simple form of state management. Now that you know about declarative
- Rebuild UI when state changesdoc
Instructions on how to manage state with ChangeNotifiers. Learn to use ListenableBuilder to automatically rebuild UI and handle all possible states with switch expressions. Introduction The view
- State management in Flutterdoc
Instructions on how to manage state with ChangeNotifiers. Learn to create a ViewModel with ChangeNotifier and manage loading, success, and error states. Introduction When developers talk
API reference
- ChangeNotifierclass
mixed in that provides a change notification API using VoidCallback for notifications. foundation.ChangeNotifier ChangeNotifier Change Notifier class foundation
- ChangeNotifier.newconstructor
foundation.ChangeNotifier.ChangeNotifier.new ChangeNotifier new Change Notifier.new constructor foundation
- ValueNotifierclass
ChangeNotifier that holds a single value. foundation.ValueNotifier ValueNotifier Value Notifier class foundation
- RestorableChangeNotifierclass
base class for creating a RestorableProperty that stores and restores a ChangeNotifier. widgets.RestorableChangeNotifier RestorableChangeNotifier Restorable Change Notifier class widgets
- ValueNotifier.newconstructor
Creates a ChangeNotifier that wraps this value. foundation.ValueNotifier.ValueNotifier.new ValueNotifier new Value Notifier.new constructor foundation