ShouldRebuild<T> typedef
Null safety
- T previous,
- 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);