WheelOptions constructor

const WheelOptions({
  1. double diameterRatio = 1,
  2. double offAxisFraction = 0,
  3. double perspective = 0.01,
  4. double magnification = 1.1,
  5. bool useMagnifier = false,
  6. double squeeze = 1,
  7. double itemExtent = 22,
  8. ScrollPhysics? physics,
  9. ValueChanged<int>? onChanged,
  10. double overAndUnderCenterOpacity = 0.447,
  11. bool renderChildrenOutsideViewport = false,
  12. Clip clipBehavior = Clip.hardEdge,
  13. String? restorationId,
  14. ScrollBehavior? scrollBehavior,
  15. bool isCupertino = true,
  16. Color? backgroundColor,
  17. 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(),
});