DropdownMenuEntry<T> constructor

const DropdownMenuEntry<T>({
  1. required T value,
  2. required String label,
  3. Widget? labelWidget,
  4. Widget? leadingIcon,
  5. Widget? trailingIcon,
  6. bool enabled = true,
  7. ButtonStyle? style,
})

Creates an entry that is used with DropdownMenu.dropdownMenuEntries.

Implementation

const DropdownMenuEntry({
  required this.value,
  required this.label,
  this.labelWidget,
  this.leadingIcon,
  this.trailingIcon,
  this.enabled = true,
  this.style,
});