ShouldUpdate typedef

ShouldUpdate = bool Function(StoreOfState lState, StoreOfState nState)

Type definition for a custom update decision function.

Takes the previous state and the next state, and returns a boolean indicating whether the widget should rebuild.

Implementation

typedef ShouldUpdate = bool Function(StoreOfState lState, StoreOfState nState);