FlutterReadonlySignalUtils<T> extension

Signal extensions

on

Methods

listen(BuildContext context, void callback(), {String? debugLabel}) → void
Used to listen for updates on a signal but not rebuild the nearest element
toValueListenable() ValueListenable<T>
Convert a signal to ValueListenable to be used in builders and other existing widgets like ValueListenableBuilder
unwatch(BuildContext context) → void
Stop subscriptions to updates on a signal for watchers
watch(BuildContext context, {String? debugLabel}) → T
Rebuild the Element that the current signal is inside of