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