ViewStateBuilderCondition typedef
Signature for the buildWhen function which takes the previous ViewState
and the current ViewState and returns a bool which determines whether
to rebuild the view with the current state.
Implementation
typedef ViewStateBuilderCondition = bool Function(
ViewState previous,
ViewState current,
);