ScrollbarThemeData constructor

const ScrollbarThemeData({
  1. MaterialStateProperty<bool?>? thumbVisibility,
  2. MaterialStateProperty<double?>? thickness,
  3. MaterialStateProperty<bool?>? trackVisibility,
  4. Radius? radius,
  5. MaterialStateProperty<Color?>? thumbColor,
  6. MaterialStateProperty<Color?>? trackColor,
  7. MaterialStateProperty<Color?>? trackBorderColor,
  8. double? crossAxisMargin,
  9. double? mainAxisMargin,
  10. double? minThumbLength,
  11. bool? interactive,
})

Creates a theme that can be used for ThemeData.scrollbarTheme.

Implementation

const ScrollbarThemeData({
  this.thumbVisibility,
  this.thickness,
  this.trackVisibility,
  this.radius,
  this.thumbColor,
  this.trackColor,
  this.trackBorderColor,
  this.crossAxisMargin,
  this.mainAxisMargin,
  this.minThumbLength,
  this.interactive,
});