listener property

BlocWidgetListener<BlocState> listener
finalinherited

The BlocWidgetListener which will be called on every state change. This listener should be used for any code which needs to execute in response to a state change.

Implementation

final BlocWidgetListener<S> listener;