ref property

Object that provides support for watching Listenables within a Widget.

NOTE: The returned WatcherRef is only valid within the build of this Widget.

See also:

Implementation

WatcherRef get ref => _ListenableWatcherElement._currentElement!;