KrakenScrollable constructor
KrakenScrollable({
- AxisDirection axisDirection = AxisDirection.down,
- DragStartBehavior dragStartBehavior = DragStartBehavior.start,
- ScrollListener? scrollListener,
Implementation
KrakenScrollable({
AxisDirection axisDirection = AxisDirection.down,
this.dragStartBehavior = DragStartBehavior.start,
this.scrollListener,
}) {
_axisDirection = axisDirection;
position = ScrollPositionWithSingleContext(physics: _physics, context: this, oldPosition: null);
}