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<
Used to listen for updates on a signal but not rebuild the nearest elementT> , provided by the FlutterReadonlySignalUtils extension -
toValueListenable(
) → ValueListenable< T> -
Available on ReadonlySignal<
Convert a signal to ValueListenable to be used in builders and other existing widgets like ValueListenableBuilderT> , provided by the FlutterReadonlySignalUtils extension