didAddProvider method

void didAddProvider(
  1. ProviderBase<Object?> provider,
  2. Object? value,
  3. ProviderContainer container
)

A provider was initialized, and the value exposed is value.

value will be null if the provider threw during initialization.

Implementation

void didAddProvider(
  ProviderBase<Object?> provider,
  Object? value,
  ProviderContainer container,
) {}