Skip to content

ValueListenable

To create a readonly signal from a ValueListenable, use the toSignal extension:

final ValueListenable listenable = ValueNotifier(10);
final signal = listenable.toSignal();