updateShouldNotify method
Whether to notify listeners or not when state
changes
Implementation
@protected
bool updateShouldNotify(
T old,
T current,
) =>
!identical(old, current);
Whether to notify listeners or not when state
changes
@protected
bool updateShouldNotify(
T old,
T current,
) =>
!identical(old, current);