Description
Environment
Package version: 7.7.0
Description
What you'd like to happen:
For example, the package connectivity_plus has a onConnectivityChange
stream. When you subscribe to it, you get the changes in real time.
_formKey.currentState!.onChange.listen((Map<String, FormBuilderFieldState<FormBuilderField, dynamic>> values) {
// do what you want to do with fields
});
This is especially useful in state managers, specifically Bloc. Here, from Flutterly's Bloc tutorial from 8:34, you can see how streams can be utilized in Bloc.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Ready