Scrollbars constructor

const Scrollbars({
  1. Key? key,
  2. required Widget child,
  3. Widget corner = const SizedBox.shrink(),
  4. Widget verticalScrollbar = const DefaultScrollbar(),
  5. Widget horizontalScrollbar = const DefaultScrollbar(),
  6. bool verticalScrollbarPadsContent = false,
  7. bool horizontalScrollbarPadsContent = false,
  8. double verticalScrollbarThickness = 12.0,
  9. double horizontalScrollbarThickness = 12.0,
})

Implementation

const Scrollbars({
  super.key,
  required this.child,
  this.corner = const SizedBox.shrink(),
  this.verticalScrollbar = const DefaultScrollbar(),
  this.horizontalScrollbar = const DefaultScrollbar(),
  this.verticalScrollbarPadsContent = false,
  this.horizontalScrollbarPadsContent = false,
  this.verticalScrollbarThickness = 12.0,
  this.horizontalScrollbarThickness = 12.0,
});