ItemScrollPhysics constructor

const ItemScrollPhysics({
  1. ScrollPhysics? parent,
  2. double? itemHeight,
  3. double targetPixelsLimit = 3.0,
})

Implementation

const ItemScrollPhysics({
  ScrollPhysics? parent,
  this.itemHeight,
  this.targetPixelsLimit = 3.0,
})  : assert(itemHeight != null && itemHeight > 0),
      super(parent: parent);