BasePopupMenuItem class

Data class representing a popup menu item

Constructors

BasePopupMenuItem({required String label, IconData? iconData, String? iosIcon, double? iconSize, bool enabled = true})
const
BasePopupMenuItem.divider()
Creates a divider item
const

Properties

enabled → bool
Whether the item is enabled
final
hashCode → int
The hash code for this object.
no setterinherited
iconData → IconData?
Material Design icon
final
iconSize → double?
Size of the icon
final
iosIcon → String?
iOS SF Symbol name (overrides automatic mapping)
final
isDivider → bool
Whether this item is a divider
final
label → String
Label text for the menu item
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited