ScrollPicker<T> constructor
ScrollPicker<T> ({
- Key? key,
- required List<
T> items, - required T selectedItem,
- required ValueChanged<
T> onChanged, - bool showDivider = true,
- Transformer<
T> ? transformer,
Implementation
ScrollPicker({
Key? key,
required this.items,
required this.selectedItem,
required this.onChanged,
this.showDivider = true,
this.transformer,
}) : super(key: key);