BouncingScrollPhysics constructor
- ScrollDecelerationRate decelerationRate = ScrollDecelerationRate.normal,
- ScrollPhysics? parent,
Creates scroll physics that bounce back from the edge.
The decelerationRate defaults to ScrollDecelerationRate.normal.
Implementation
// Any parameters that are added here should also be forwarded by `ScrollPhysics.bouncing`.
const BouncingScrollPhysics({
this.decelerationRate = ScrollDecelerationRate.normal,
super.parent,
});