SingleListPicker constructor
const
SingleListPicker({
- Key? key,
- required int itemCount,
- required SelectIndexedWidgetBuilder itemBuilder,
- double height = kPickerDefaultHeight,
- double width = double.infinity,
- PickerOptions<
List< ? options = const PickerOptions<List<int>>(),int> > - SingleListPickerOptions singleListPickerOptions = const SingleListPickerOptions(),
- SelectScrollListBuilder? listBuilder,
- PickerPositionChanged? onChanged,
Implementation
const SingleListPicker({
super.key,
required this.itemCount,
required this.itemBuilder,
this.height = kPickerDefaultHeight,
this.width = double.infinity,
this.options = const PickerOptions<List<int>>(),
this.singleListPickerOptions = const SingleListPickerOptions(),
this.listBuilder,
this.onChanged,
});