WheelOptions constructor
const
WheelOptions({
- Color? backgroundColor,
- bool looping = false,
- double diameterRatio = 1,
- double offAxisFraction = 0,
- double perspective = 0.01,
- double magnification = 1.1,
- bool useMagnifier = false,
- double squeeze = 1,
- bool isCupertino = true,
- double itemExtent = 22,
- ScrollPhysics physics = const FixedExtentScrollPhysics(),
- ValueChanged<
int> ? onChanged,
Implementation
const WheelOptions({
this.backgroundColor,
this.looping = false,
this.diameterRatio = 1,
this.offAxisFraction = 0,
this.perspective = 0.01,
this.magnification = 1.1,
this.useMagnifier = false,
this.squeeze = 1,
this.isCupertino = true,
this.itemExtent = 22,
this.physics = const FixedExtentScrollPhysics(),
this.onChanged,
});