updateShouldNotify method

  1. @protected
bool updateShouldNotify(
  1. int old,
  2. int current
)
inherited

Whether to notify listeners or not when state changes

Implementation

@protected
bool updateShouldNotify(
  T old,
  T current,
) =>
    !identical(old, current);