getVerticalController static method

ScrollController? getVerticalController(
  1. BuildContext context
)

Gets the vertical scroll controller from the nearest ancestor

Implementation

static ScrollController? getVerticalController(BuildContext context) {
  return maybeOf(context)?.verticalController;
}