WheelOptions constructor
const
WheelOptions({
- ScrollPhysics? physics,
- double diameterRatio = 2.0,
- double perspective = 0.003,
- double offAxisFraction = 0.0,
- bool useMagnifier = true,
- double magnification = 1.2,
- double overAndUnderCenterOpacity = 1.0,
- double itemExtent = 30,
- double squeeze = 1.0,
- bool renderChildrenOutsideViewport = false,
- Clip clipBehavior = Clip.hardEdge,
- String? restorationId,
- ScrollBehavior? scrollBehavior,
Implementation
const WheelOptions({
this.physics,
this.diameterRatio = 2.0,
this.perspective = 0.003,
this.offAxisFraction = 0.0,
this.useMagnifier = true,
this.magnification = 1.2,
this.overAndUnderCenterOpacity = 1.0,
this.itemExtent = 30,
this.squeeze = 1.0,
this.renderChildrenOutsideViewport = false,
this.clipBehavior = Clip.hardEdge,
this.restorationId,
this.scrollBehavior,
}) : selectionOverlay = null,
backgroundColor = null,
isCupertino = false;