SelectOption<T> constructor
const
SelectOption<T> ({
- String? description,
- bool dimDescription = false,
- required Widget label,
- required T value,
- bool disabled = false,
- SelectOptionType type = SelectOptionType.text,
- ValueChanged<
String> ? onInputChange, - String? placeholder,
- String? initialValue,
- bool allowEmptySubmitToCancel = false,
- bool showLabelWithValue = false,
- String labelValueSeparator = ', ',
- 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,
});