WebScrollBar constructor
WebScrollBar({
- required ScrollController controller,
- required Widget child,
- required double visibleHeight,
- double scrollbarMinWidth = DEFAULT_MIN_WIDTH,
- double scrollbarMaxWidth = DEFAULT_MAX_WIDTH,
- int animationLength = DEFAULT_ANIMATION_LENGTH_MS,
- Color scrollThumbColor = DEFAULT_SCROLL_THUMB_COLOR,
- 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,
});