SnapScrollPhysics constructor

const SnapScrollPhysics({
  1. ScrollPhysics? parent,
  2. double? snapHeight,
  3. double friction = 0.015,
})

Implementation

const SnapScrollPhysics({
  ScrollPhysics? parent,
  this.snapHeight,
  this.friction = 0.015,
}) : super(parent: parent);