enableGestures property Null safety
protected">@protected
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:
- RawScrollbar.interactive, which overrides the default behavior.
Implementation
@protected
bool get enableGestures => widget.interactive ?? true;