CupertinoListWheelScrollView.useDelegate constructor

CupertinoListWheelScrollView.useDelegate({
  1. Key? key,
  2. required double itemExtent,
  3. required ValueChanged<int>? onSelectedItemChanged,
  4. required ListWheelChildDelegate delegate,
  5. Color? backgroundColor,
  6. double diameterRatio = _kDefaultDiameterRatio,
  7. double magnification = 1.0,
  8. double offAxisFraction = 0.0,
  9. FixedExtentScrollController? scrollController,
  10. Widget? selectionOverlay = const CupertinoPickerDefaultSelectionOverlay(),
  11. double squeeze = _kSqueeze,
  12. 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: []);