GrabListenableExtension extension

Extension on Listenable 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<R extends Listenable>(BuildContext context) → R
Returns an object of type R, which is the Listenable itself that this method was called on.
grabAt<R extends Listenable, S>(BuildContext context, GrabSelector<R, S> selector) → S
Returns an object of type S chosen with the selector.