SelectOption<T> constructor

const SelectOption<T>({
  1. String? description,
  2. bool dimDescription = false,
  3. required Widget label,
  4. required T value,
  5. bool disabled = false,
  6. SelectOptionType type = SelectOptionType.text,
  7. ValueChanged<String>? onInputChange,
  8. String? placeholder,
  9. String? initialValue,
  10. bool allowEmptySubmitToCancel = false,
  11. bool showLabelWithValue = false,
  12. String labelValueSeparator = ', ',
  13. bool resetCursorOnUpdate = false,
})

Implementation

const SelectOption({
  this.description,
  this.dimDescription = false,
  required this.label,
  required this.value,
  this.disabled = false,
  this.type = SelectOptionType.text,
  this.onInputChange,
  this.placeholder,
  this.initialValue,
  this.allowEmptySubmitToCancel = false,
  this.showLabelWithValue = false,
  this.labelValueSeparator = ', ',
  this.resetCursorOnUpdate = false,
});