ZeroDropdownMenuEntry<T> constructor

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

Creates an entry that is used with CustomDropdownMenu.dropdownMenuEntries.

label must be non-null.

Implementation

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