ScrollbarDecoration constructor
ScrollbarDecoration({
- double minThumbLength = 18.0,
- bool? thumbVisibility = true,
- Radius? radius,
- double? thickness,
- Color? thumbColor,
- OutlinedBorder? shape,
- ScrollbarOrientation orientation = ScrollbarOrientation.right,
- bool? trackVisibility,
- Radius? trackRadius,
- double? crossAxisMargin = 0,
- Color? trackColor,
- bool? interactive = true,
- Color? trackBorderColor,
- Duration fadeDuration = const Duration(milliseconds: 300),
- Duration timeToFade = const Duration(milliseconds: 600),
- Duration pressDuration = const Duration(milliseconds: 100),
Implementation
ScrollbarDecoration({
this.minThumbLength = 18.0,
this.thumbVisibility = true,
this.radius,
this.thickness,
this.thumbColor,
this.shape,
this.orientation = ScrollbarOrientation.right,
this.trackVisibility,
this.trackRadius,
this.crossAxisMargin = 0,
this.trackColor,
this.interactive = true,
this.trackBorderColor,
this.fadeDuration = const Duration(milliseconds: 300),
this.timeToFade = const Duration(milliseconds: 600),
this.pressDuration = const Duration(milliseconds: 100),
});