CupertinoListWheelScrollView.useDelegate constructor
CupertinoListWheelScrollView.useDelegate({
- Key? key,
- required double itemExtent,
- required ValueChanged<
int> ? onSelectedItemChanged, - required ListWheelChildDelegate delegate,
- Color? backgroundColor,
- double diameterRatio = _kDefaultDiameterRatio,
- double magnification = 1.0,
- double offAxisFraction = 0.0,
- FixedExtentScrollController? scrollController,
- Widget? selectionOverlay = const CupertinoPickerDefaultSelectionOverlay(),
- double squeeze = _kSqueeze,
- bool useMagnifier = false,
Implementation
CupertinoListWheelScrollView.useDelegate({
super.key,
required super.itemExtent,
required super.onSelectedItemChanged,
required this.delegate,
super.backgroundColor,
super.diameterRatio,
super.magnification,
super.offAxisFraction,
super.scrollController,
super.selectionOverlay,
super.squeeze,
super.useMagnifier,
}) : super(children: []);