shape property
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 thumbColor (or grey if it is unspecified).
{@tool dartpad} This is an example of using a StadiumBorder for drawing the shape of the thumb in a RawScrollbar.
** See code in examples/api/lib/widgets/scrollbar/raw_scrollbar.shape.0.dart ** {@end-tool}
Implementation
final OutlinedBorder? shape;