ShouldRebuild<T> typedef

bool ShouldRebuild<T>(
  1. T previous,
  2. T next
)

Used by providers to determine whether dependents needs to be updated when the value exposed changes

Implementation

typedef ShouldRebuild<T> = bool Function(T previous, T next);