app/state_manager/extensions/min_update
library
Extensions
-
ValueNotifierUpdater
on ValueNotifier<T>
-
The ValueNotifierUpdater extension provides an update method for ValueNotifier objects,
allowing you to update their values while notifying listeners.
The extension method accepts a function that takes the current value of the ValueNotifier and
returns a new value. It updates the ValueNotifier with the new value, notifies its
listeners, and keeps the reference to the same instance of the ValueNotifier.