NeverScrollableScrollPhysics constructor

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

Creates scroll physics that does not let the user scroll.

Implementation

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