enableGestures property

  1. @override
bool get enableGestures
override

Overridable getter to indicate is gestures should be enabled on the scrollbar.

When false, the scrollbar will not respond to gesture or hover events, and will allow to click through it.

Subclasses can override this getter to make its value depend on an inherited theme.

Defaults to true when RawScrollbar.interactive is null.

See also:

Implementation

@override
bool get enableGestures =>
    interactive ?? _scrollbarTheme.interactive ?? !_useAndroidScrollbar;