AutoDisposeNotifierProvider<NotifierT extends AutoDisposeNotifier<T>, T> typedef

AutoDisposeNotifierProvider<NotifierT extends AutoDisposeNotifier<T>, T> = AutoDisposeNotifierProviderImpl<NotifierT, T>

A Provider which exposes a Notifier and listens to it.

This is equivalent to a Provider that exposes ways to modify its state.

See also Notifier for more information.

When using autoDispose or family, your notifier type changes. Instead of extending Notifier, you should extend either:

Implementation

typedef AutoDisposeNotifierProvider<NotifierT extends AutoDisposeNotifier<T>, T>
    = AutoDisposeNotifierProviderImpl<NotifierT, T>;