FixedExtentScrollPhysics constructor Null safety

const FixedExtentScrollPhysics(
  1. {ScrollPhysics? parent}
)

Creates a scroll physics that always lands on items.

Implementation

const FixedExtentScrollPhysics({ ScrollPhysics? parent }) : super(parent: parent);