SubProviderUpdate<T, R> typedef

SubProviderUpdate<T, R> = R Function(BuildContext context, T value, R previous)

Called to update the Provider of a SubProvider.

Implementation

typedef SubProviderUpdate<T, R> = R Function(
  BuildContext context,
  T value,
  R previous,
);