KrakenScrollable constructor

KrakenScrollable({
  1. AxisDirection axisDirection = AxisDirection.down,
  2. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  3. ScrollListener? scrollListener,
})

Implementation

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