PlutoGridScrollbarConfig constructor

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

Implementation

const PlutoGridScrollbarConfig({
  this.draggableScrollbar = true,
  this.isAlwaysShown = false,
  this.onlyDraggingThumb = 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.dragDevices,
});