SparkCommonPicker constructor

const SparkCommonPicker({
  1. Key? key,
  2. required FixedExtentScrollController controller,
  3. required double itemHeight,
  4. required SparkPickerBuilder itemBuilder,
  5. required int itemCount,
  6. SparkPickerChanged? onChanged,
  7. SparkPickerChanged? onChange,
  8. Function? onStart,
  9. Widget? selectionOverlay,
})

Implementation

const SparkCommonPicker({
  Key? key,
  required this.controller,
  required this.itemHeight,
  required this.itemBuilder,
  required this.itemCount,
  this.onChanged,
  this.onChange,
  this.onStart,
  this.selectionOverlay,
}) : super(key: key);