ScrollBar
Overview
Shows a scrollbar in a scrollable area. In a long list, for example, it tells you visually where you are.
Properties
| Property | Description | Value | Default |
|---|---|---|---|
controller | Connects the scroll controller that the scrollbar tracks. If this controller is missing — or the inherited default controller, when you leave this unset — or if it has more than one scroll position, no scrollbar appears. | Controller | Not set |
thumbVisibility | Sets whether the thumb is always visible. | On/Off | Not set |
trackVisibility | Sets whether the scroll track, the groove behind the thumb, is visible. | On/Off | Not set |
thickness | Sets the thickness of the thumb. | Number | Not set |
radiusElliptical | Applies the thumb's corner radius as an elliptical radius with equal horizontal and vertical values. | Number | 0.0 |
interactive | Sets whether you can scroll by dragging the thumb directly. | On/Off | Not set |
scrollbarOrientation | Sets which edge the scrollbar appears on. | left, right, top, bottom | Not set |