EdgeDraggingAutoScroller constructor Null safety

EdgeDraggingAutoScroller(
  1. ScrollableState scrollable,
  2. {VoidCallback? onScrollViewScrolled,
  3. double velocityScalar = _kDefaultAutoScrollVelocityScalar}
)

Creates a auto scroller that scrolls the scrollable.

Implementation

EdgeDraggingAutoScroller(this.scrollable, {this.onScrollViewScrolled, this.velocityScalar = _kDefaultAutoScrollVelocityScalar});