listenWhen property
Takes the previous state
and the current state
and is responsible for
returning a bool which determines whether or not to call listener
of
BlocConsumer
with the current state
.
Implementation
final BlocListenerCondition<S>? listenWhen;