WheelOptions constructor

const WheelOptions({
  1. Color? backgroundColor,
  2. bool looping = false,
  3. double diameterRatio = 1,
  4. double offAxisFraction = 0,
  5. double perspective = 0.01,
  6. double magnification = 1.1,
  7. bool useMagnifier = false,
  8. double squeeze = 1,
  9. bool isCupertino = true,
  10. double itemExtent = 22,
  11. ScrollPhysics physics = const FixedExtentScrollPhysics(),
  12. 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,
});