SmoothScrollWeb constructor
SmoothScrollWeb({
- required ScrollController controller,
- required Widget child,
- int scrollSpeed = DEFAULT_SCROLL_SPEED,
- int scrollAnimationLength = DEFAULT_NORMAL_SCROLL_ANIMATION_LENGTH_MS,
- Curve curve = Curves.linear,
Implementation
SmoothScrollWeb({
required this.controller,
required this.child,
this.scrollSpeed = DEFAULT_SCROLL_SPEED,
this.scrollAnimationLength = DEFAULT_NORMAL_SCROLL_ANIMATION_LENGTH_MS,
this.curve = Curves.linear,
});