ScrollPicker constructor

ScrollPicker({
  1. Key? key,
  2. required List<String> items,
  3. required List<String> values,
  4. String? initialValue,
  5. required ValueChanged<String> onChanged,
  6. bool showDivider = true,
})

Implementation

ScrollPicker({
  Key? key,
  required this.items,
  required this.values,
  this.initialValue,
  required this.onChanged,
  this.showDivider: true,
}) : super(key: key);