OnProviderChange<T> typedef Null safety

void OnProviderChange<T>(
  1. BuildContext context,
  2. T value
)

A function that can react to changes on a provider

See also ProviderListener

Implementation

typedef OnProviderChange<T> = void Function(BuildContext context, T value);