SparkPicker<T> constructor
const
SparkPicker<T> ({
- required List<
SparkPickerData< options,T> > - double itemHeight = 40,
- SparkPickerBuilder? itemBuilder,
- TextStyle? style,
- FixedExtentScrollController? controller,
- Key? key,
Implementation
const SparkPicker({
required this.options,
this.itemHeight = 40,
this.itemBuilder,
this.style,
this.controller,
Key? key,
}) : super(key: key);