GrabValueListenableExtension<R> extension

Extension on ValueListenable with its value of type R to provide methods for Grab.

The widget where the extension methods are used must have an appropriate mixin. See StatelessGrabMixin and StatefulGrabMixin for details.

on

Methods

grab(BuildContext context) → R
Returns an object of type R, which is the value of ValueListenable that this method was called on.
grabAt<S>(BuildContext context, GrabSelector<R, S> selector) → S
Returns an object of type S chosen with the selector.