updateShouldNotify abstract method

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

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);