WheelOptions constructor
const
WheelOptions({
- double diameterRatio = 1,
- double offAxisFraction = 0,
- double perspective = 0.01,
- double magnification = 1.1,
- bool useMagnifier = false,
- double squeeze = 1,
- double itemExtent = 22,
- ScrollPhysics? physics,
- ValueChanged<
int> ? onChanged, - double overAndUnderCenterOpacity = 0.447,
- bool renderChildrenOutsideViewport = false,
- Clip clipBehavior = Clip.hardEdge,
- String? restorationId,
- ScrollBehavior? scrollBehavior,
- bool isCupertino = true,
- Color? backgroundColor,
- Widget? selectionOverlay = const CupertinoPickerDefaultSelectionOverlay(),
Implementation
const WheelOptions({
this.diameterRatio = 1,
this.offAxisFraction = 0,
this.perspective = 0.01,
this.magnification = 1.1,
this.useMagnifier = false,
this.squeeze = 1,
this.itemExtent = 22,
this.physics,
this.onChanged,
this.overAndUnderCenterOpacity = 0.447,
this.renderChildrenOutsideViewport = false,
this.clipBehavior = Clip.hardEdge,
this.restorationId,
this.scrollBehavior,
this.isCupertino = true,
this.backgroundColor,
this.selectionOverlay = const CupertinoPickerDefaultSelectionOverlay(),
});