FlutterReadonlySignalUtils<T> extension

Overrides some of the signals.FlutterReadonlySignalUtils extensions to replace observing methods with context_watch-based ones.

Other extensions are proxied to the original ones, with the original doc comments copied over.

on

Methods

listen(BuildContext context, void callback(), {String? debugLabel}) → void

Available on ReadonlySignal<T>, provided by the FlutterReadonlySignalUtils extension

Used to listen for updates on a signal but not rebuild the nearest element
toValueListenable() ValueListenable<T>

Available on ReadonlySignal<T>, provided by the FlutterReadonlySignalUtils extension

Convert a signal to ValueListenable to be used in builders and other existing widgets like ValueListenableBuilder