ListWheelScrollViewX.useDelegate constructor
const
ListWheelScrollViewX.useDelegate({
- Key? key,
- Axis scrollDirection = Axis.vertical,
- ScrollController? controller,
- ScrollPhysics? physics,
- double diameterRatio = RenderListWheelViewport.defaultDiameterRatio,
- double perspective = RenderListWheelViewport.defaultPerspective,
- double offAxisFraction = 0.0,
- bool useMagnifier = false,
- double magnification = 1.0,
- double overAndUnderCenterOpacity = 1.0,
- required double itemExtent,
- double squeeze = 1.0,
- ValueChanged<
int> ? onSelectedItemChanged, - bool renderChildrenOutsideViewport = false,
- Clip clipBehavior = Clip.hardEdge,
- required ListWheelChildDelegate? childDelegate,
Implementation
const ListWheelScrollViewX.useDelegate({
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.childDelegate,
}) : children = null,
super(key: key);