BuilderCondition<T> typedef
BuilderCondition<T> =
bool Function(T previous, T current)
Signature for the buildWhen
function which takes the previous state
and
the current state
and is responsible for returning a bool which
determines whether to rebuild LidBuilder with the current state
.
Implementation
typedef BuilderCondition<T> = bool Function(T previous, T current);