scrollable property

ScrollableState? scrollable

Returns the scrollable state from the closest widgets.Scrollable ancestor.

context.scrollable is equivalent to widgets.Scrollable.of.

Implementation

widgets.ScrollableState? get scrollable {
  return widgets.Scrollable.of(this);
}