shape property
OutlinedBorder?
get
shape
The OutlinedBorder of the scrollbar's thumb.
Only one of radius and shape may be specified. For a rounded rectangle, it's simplest to just specify radius. By default, the scrollbar thumb's shape is a simple rectangle.
If shape is specified, the thumb will take the shape of the passed OutlinedBorder and fill itself with color (or grey if it is unspecified).
Implementation
OutlinedBorder? get shape => _shape;
set
shape
(OutlinedBorder? value)
Implementation
set shape(OutlinedBorder? value) {
assert(radius == null || value == null);
if (shape == value) {
return;
}
_shape = value;
notifyListeners();
}