Predicate type used to decide whether widgets should rebuild.
typedef ShouldRebuild = bool Function( SnapState<dynamic> oldSnap, SnapState<dynamic> newSnap, );