JxMenuItem class
An entry of a JxDropdownMenu: a link (href) or an action (onSelect), or a separator.
Constructors
- JxMenuItem({required String label, String? href, VoidCallback? onSelect, bool danger = false, bool disabled = false})
-
const
- JxMenuItem.separator()
-
A line between two groups of entries.
const
Properties
- danger → bool
-
Red text, for destructive actions.
final
- disabled → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- href → String?
-
final
- label → String
-
final
- onSelect → VoidCallback?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- separator → bool
-
final
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