ScrollbarDecoration constructor

ScrollbarDecoration({
  1. double minThumbLength = 18.0,
  2. bool? thumbVisibility = true,
  3. Radius? radius,
  4. double? thickness,
  5. Color? thumbColor,
  6. OutlinedBorder? shape,
  7. ScrollbarOrientation orientation = ScrollbarOrientation.right,
  8. bool? trackVisibility,
  9. Radius? trackRadius,
  10. double? crossAxisMargin = 0,
  11. Color? trackColor,
  12. bool? interactive = true,
  13. Color? trackBorderColor,
  14. Duration fadeDuration = const Duration(milliseconds: 300),
  15. Duration timeToFade = const Duration(milliseconds: 600),
  16. 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),
});