ClampOverscrolls of(BuildContext context)

The closest instance of this class that encloses the given context.

Typical usage is as follows:

ScrollableEdge edge = ClampOverscrolls.of(context).edge;

Source

static ClampOverscrolls of(BuildContext context) {
  return context.inheritFromWidgetOfExactType(ClampOverscrolls);
}