Skip to content

ValueNotifier

To create a mutable signal from a ValueNotifier, use the toSignal extension:

final notifier = ValueNotifier(10);
final signal = notifier.toSignal();

Setting the value on the signal or notifier will update the other.