DropdownItem<T> constructor

const DropdownItem<T>({
  1. T? value,
  2. String? label,
  3. bool selected = false,
  4. bool section = false,
  5. bool placeholder = false,
})

Implementation

const DropdownItem({
  this.value,
  this.label,
  this.selected = false,
  this.section = false,
  this.placeholder = false,
}) : disabled = section || placeholder;