WheelOptions.custom constructor

const WheelOptions.custom({
  1. ScrollPhysics? physics,
  2. double diameterRatio = 2.0,
  3. double perspective = 0.003,
  4. double offAxisFraction = 0.0,
  5. bool useMagnifier = false,
  6. double magnification = 1.0,
  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,
  14. Widget? selectionOverlay,
  15. Color? backgroundColor,
  16. bool isCupertino = false,
})

Implementation

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