You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.
Is there a way to use this with bloc listener? currently, I'm literally just taking the state and doing:
BlocListener<MyCubit, MyState>(
listener: (context, state) {
state.join(
(_) {}, //empty here, as we don't do anything with this state
(wantedState) =>print(wantedState.wantedProperty); //do something here
);
}
)
Is it possible to have a function on on a state like:
Is there a way to use this with bloc listener? currently, I'm literally just taking the state and doing:
Is it possible to have a function
on
on a state like:so that you can choose to only react to a single state as opposed to needing to put a voider function on every unwanted state?
The text was updated successfully, but these errors were encountered: