SnappScrollPhysic constructor

const SnappScrollPhysic({
  1. ScrollPhysics? parent,
  2. required double itemHeight,
  3. double targetPixelLimit = 3.0,
})

Implementation

const SnappScrollPhysic({
  ScrollPhysics? parent,
  required this.itemHeight,
  this.targetPixelLimit = 3.0,
}) : super(parent: parent);