SelectorWheelWheel<T> constructor

const SelectorWheelWheel<T>({
  1. Key? key,
  2. required double width,
  3. required double height,
  4. required int? childCount,
  5. required FixedExtentScrollController controller,
  6. required SelectorWheelValue<T> convertIndexToValue(
    1. int index
    ),
  7. required void onValueChanged(
    1. SelectorWheelValue<T> value
    ),
  8. double? perspective,
  9. double? diameterRatio,
})

Implementation

const SelectorWheelWheel({
  Key? key,
  required this.width,
  required this.height,
  required this.childCount,
  required this.controller,
  required this.convertIndexToValue,
  required this.onValueChanged,
  this.perspective,
  this.diameterRatio,
}) : super(key: key);