updateShouldNotify abstract method

  1. @visibleForOverriding
bool updateShouldNotify(
  1. Value previousState,
  2. Value newState
)
inherited

Called when a provider is rebuilt. Used for providers to not notify their listeners if the exposed value did not change.

Implementation

@visibleForOverriding
bool updateShouldNotify(State previousState, State newState);