ZeroDropdownMenuEntry<T> constructor
const
ZeroDropdownMenuEntry<T> ({
- required T value,
- required String label,
- Widget? leadingIcon,
- Widget? trailingIcon,
- bool enabled = true,
- 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,
});