of static method

Retrieves the ScrollbarHandler from the widget tree.

Uses Data.of to find the nearest ScrollbarHandler ancestor.

Implementation

static ScrollbarHandler of(BuildContext context) {
  return Data.of(context);
}