FolderViewScrollbarTheme constructor

const FolderViewScrollbarTheme({
  1. required Color thumbColor,
  2. required Color trackColor,
  3. double thickness = 12.0,
  4. double radius = 4.0,
  5. bool thumbVisibility = true,
  6. double hoverOpacity = 0.8,
  7. double nonHoverOpacity = 0.0,
  8. Duration hoverAnimationDuration = const Duration(milliseconds: 200),
  9. double trackWidth = 16.0,
  10. double trackRadius = 8.0,
  11. bool trackVisibility = false,
})

Creates a FolderViewScrollbarTheme with the given properties

Implementation

const FolderViewScrollbarTheme({
  required this.thumbColor,
  required this.trackColor,
  this.thickness = 12.0,
  this.radius = 4.0,
  this.thumbVisibility = true,
  this.hoverOpacity = 0.8,
  this.nonHoverOpacity = 0.0,
  this.hoverAnimationDuration = const Duration(milliseconds: 200),
  this.trackWidth = 16.0,
  this.trackRadius = 8.0,
  this.trackVisibility = false,
});