Takes the previous state and the current state and is responsible for returning a bool which determines whether or not to trigger builder with the current state.
state
final BlocBuilderCondition<S>? buildWhen;