enableGestures property Null safety

bool enableGestures

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

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

@protected
bool get enableGestures => widget.interactive ?? true;