WheelOptions constructor

const WheelOptions({
  1. ScrollPhysics? physics,
  2. double diameterRatio = 2.0,
  3. double perspective = 0.003,
  4. double offAxisFraction = 0.0,
  5. bool useMagnifier = true,
  6. double magnification = 1.2,
  7. double overAndUnderCenterOpacity = 1.0,
  8. double itemExtent = 30,
  9. double squeeze = 1.0,
  10. bool renderChildrenOutsideViewport = false,
  11. Clip clipBehavior = Clip.hardEdge,
  12. String? restorationId,
  13. ScrollBehavior? scrollBehavior,
})

Implementation

const WheelOptions({
  this.physics,
  this.diameterRatio = 2.0,
  this.perspective = 0.003,
  this.offAxisFraction = 0.0,
  this.useMagnifier = true,
  this.magnification = 1.2,
  this.overAndUnderCenterOpacity = 1.0,
  this.itemExtent = 30,
  this.squeeze = 1.0,
  this.renderChildrenOutsideViewport = false,
  this.clipBehavior = Clip.hardEdge,
  this.restorationId,
  this.scrollBehavior,
})  : selectionOverlay = null,
      backgroundColor = null,
      isCupertino = false;