-
-
Notifications
You must be signed in to change notification settings - Fork 556
Labels
enhancementNew feature or requestNew feature or request
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.
deandreamatias, ozz-rjq and nietsmmar
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
Ready