ClampingScrollPhysics constructor

const ClampingScrollPhysics({
  1. ScrollPhysics? parent,
})

Creates scroll physics that prevent the scroll offset from exceeding the bounds of the content.

Implementation

// Any parameters that are added here should also be forwarded by `ScrollPhysics.clamping`.
const ClampingScrollPhysics({super.parent});