ListWheelScrollViewX constructor

const ListWheelScrollViewX({
  1. Key? key,
  2. Axis scrollDirection = Axis.vertical,
  3. ScrollController? controller,
  4. ScrollPhysics? physics,
  5. double diameterRatio = RenderListWheelViewport.defaultDiameterRatio,
  6. double perspective = RenderListWheelViewport.defaultPerspective,
  7. double offAxisFraction = 0.0,
  8. bool useMagnifier = false,
  9. double magnification = 1.0,
  10. double overAndUnderCenterOpacity = 1.0,
  11. required double itemExtent,
  12. double squeeze = 1.0,
  13. ValueChanged<int>? onSelectedItemChanged,
  14. bool renderChildrenOutsideViewport = false,
  15. Clip clipBehavior = Clip.hardEdge,
  16. required List<Widget>? children,
})

Implementation

const ListWheelScrollViewX({
  Key? key,
  this.scrollDirection = Axis.vertical,
  this.controller,
  this.physics,
  this.diameterRatio = RenderListWheelViewport.defaultDiameterRatio,
  this.perspective = RenderListWheelViewport.defaultPerspective,
  this.offAxisFraction = 0.0,
  this.useMagnifier = false,
  this.magnification = 1.0,
  this.overAndUnderCenterOpacity = 1.0,
  required this.itemExtent,
  this.squeeze = 1.0,
  this.onSelectedItemChanged,
  this.renderChildrenOutsideViewport = false,
  this.clipBehavior = Clip.hardEdge,
  required this.children,
})  : childDelegate = null,
      super(key: key);