BouncingScrollPhysics constructor

const BouncingScrollPhysics({
  1. ScrollDecelerationRate decelerationRate = ScrollDecelerationRate.normal,
  2. ScrollPhysics? parent,
})

Creates scroll physics that bounce back from the edge.

Implementation

const BouncingScrollPhysics({
  this.decelerationRate = ScrollDecelerationRate.normal,
  super.parent,
});