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.
BlocWidgetListener
state
final BlocWidgetListener<S> listener;