DropdownItem<T> constructor
DropdownItem<T> ({})
Creates a new instance of DropdownItem.
The label and value parameters are required.
The disabled and selected parameters are optional and default to false.
Implementation
DropdownItem({
required this.label,
required this.value,
required this.id,
this.disabled = false,
this.selected = false,
});