PlutoGridScrollbarConfig constructor

const PlutoGridScrollbarConfig({
  1. bool draggableScrollbar = true,
  2. bool isAlwaysShown = false,
  3. bool onlyDraggingThumb = true,
  4. bool enableScrollAfterDragEnd = true,
  5. double scrollbarThickness = PlutoScrollbar.defaultThickness,
  6. double scrollbarThicknessWhileDragging = PlutoScrollbar.defaultThicknessWhileDragging,
  7. double hoverWidth = PlutoScrollbar.defaultScrollbarHoverWidth,
  8. double? mainAxisMargin,
  9. double? crossAxisMargin,
  10. Color? scrollBarColor,
  11. Color? scrollBarTrackColor,
  12. Radius scrollbarRadius = PlutoScrollbar.defaultRadius,
  13. Radius scrollbarRadiusWhileDragging = PlutoScrollbar.defaultRadiusWhileDragging,
  14. Duration? longPressDuration,
  15. Set<PointerDeviceKind>? dragDevices,
})

Implementation

const PlutoGridScrollbarConfig({
  this.draggableScrollbar = true,
  this.isAlwaysShown = false,
  this.onlyDraggingThumb = true,
  this.enableScrollAfterDragEnd = true,
  this.scrollbarThickness = PlutoScrollbar.defaultThickness,
  this.scrollbarThicknessWhileDragging =
      PlutoScrollbar.defaultThicknessWhileDragging,
  this.hoverWidth = PlutoScrollbar.defaultScrollbarHoverWidth,
  this.mainAxisMargin,
  this.crossAxisMargin,
  this.scrollBarColor,
  this.scrollBarTrackColor,
  this.scrollbarRadius = PlutoScrollbar.defaultRadius,
  this.scrollbarRadiusWhileDragging =
      PlutoScrollbar.defaultRadiusWhileDragging,
  this.longPressDuration,
  this.dragDevices,
});