showScrollbar property

  1. @protected
bool showScrollbar

Overridable getter to indicate that the scrollbar should be visible, even when a scroll is not underway.

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

Defaults to false when RawScrollbar.thumbVisibility is null.

Implementation

@protected
bool get showScrollbar => widget.thumbVisibility ?? false;