ArcaneScrollArea.horizontal constructor

const ArcaneScrollArea.horizontal({
  1. required Widget child,
  2. required String width,
  3. String? maxWidth,
  4. ScrollbarVisibility scrollbar = ScrollbarVisibility.hover,
  5. ScrollbarStyle scrollbarStyle = ScrollbarStyle.thin,
  6. String? thumbColor,
  7. String? trackColor,
  8. bool showScrollShadows = false,
  9. String? padding,
  10. String? className,
  11. Key? key,
})

Implementation

const ArcaneScrollArea.horizontal({
  required this.child,
  required String this.width,
  this.maxWidth,
  this.scrollbar = ScrollbarVisibility.hover,
  this.scrollbarStyle = ScrollbarStyle.thin,
  this.thumbColor,
  this.trackColor,
  this.showScrollShadows = false,
  this.padding,
  this.className,
  super.key,
})  : height = null,
      maxHeight = null,
      direction = ScrollDirection.horizontal,
      scrollbarSize = '8px';