WebSmoothScroll constructor

const WebSmoothScroll(
  1. {Key? key,
  2. required ScrollController controller,
  3. required Widget child,
  4. int scrollOffset = defaultScrollOffset,
  5. int animationDuration = defaultAnimationDuration,
  6. Curve curve = Curves.easeOutCubic}
)

Implementation

const WebSmoothScroll({
  Key? key,
  required this.controller,
  required this.child,
  this.scrollOffset = defaultScrollOffset,
  this.animationDuration = defaultAnimationDuration,
  this.curve = Curves.easeOutCubic,
}) : super(key: key);