SparkPicker<T> constructor

const SparkPicker<T>({
  1. required List<SparkPickerData<T>> options,
  2. double itemHeight = 40,
  3. SparkPickerBuilder? itemBuilder,
  4. TextStyle? style,
  5. FixedExtentScrollController? controller,
  6. Key? key,
})

Implementation

const SparkPicker({
  required this.options,
  this.itemHeight = 40,
  this.itemBuilder,
  this.style,
  this.controller,
  Key? key,
}) : super(key: key);