WebScrollBar constructor

WebScrollBar({
  1. required ScrollController controller,
  2. required Widget child,
  3. required double visibleHeight,
  4. double scrollbarMinWidth = DEFAULT_MIN_WIDTH,
  5. double scrollbarMaxWidth = DEFAULT_MAX_WIDTH,
  6. int animationLength = DEFAULT_ANIMATION_LENGTH_MS,
  7. Color scrollThumbColor = DEFAULT_SCROLL_THUMB_COLOR,
  8. Color scrollbarColor = DEFAULT_SCROLLBAR_COLOR,
})

Implementation

WebScrollBar({
  required this.controller,
  required this.child,
  required this.visibleHeight,
  this.scrollbarMinWidth = DEFAULT_MIN_WIDTH,
  this.scrollbarMaxWidth = DEFAULT_MAX_WIDTH,
  this.animationLength = DEFAULT_ANIMATION_LENGTH_MS,
  this.scrollThumbColor = DEFAULT_SCROLL_THUMB_COLOR,
  this.scrollbarColor = DEFAULT_SCROLLBAR_COLOR,
});