SnappingListScrollPhysics constructor
const
SnappingListScrollPhysics({
- required double itemWidth,
- ScrollPhysics? parent,
Supply the intended width of the items scrolled. Optionally supply a 'parent' Physics object to encompass.
Implementation
const SnappingListScrollPhysics({
required this.itemWidth,
ScrollPhysics? parent,
}) : super(parent: parent);