trackColor property

MaterialStateProperty<Color?>? trackColor
final

Overrides the default Color of the Scrollbar track when showTrackOnHover is true in all descendant Scrollbar widgets.

Resolves in the following states:

Implementation

final MaterialStateProperty<Color?>? trackColor;