notifier property

  1. @override
AlwaysAliveRefreshable<NotifierT> notifier

Obtains the ChangeNotifier associated with this provider, without listening to state changes.

This is typically used to invoke methods on a ChangeNotifier. For example:

  onTap: () =>,

This listenable will notify its notifiers if the ChangeNotifier instance changes. This may happen if the provider is refreshed or one of its dependencies has changes.


late final AlwaysAliveRefreshable<NotifierT> notifier =