CNPullDownMenuItem class
A selectable item in a pull-down menu.
- Inheritance
-
- Object
- CNPullDownMenuEntry
- CNPullDownMenuItem
Constructors
Properties
- enabled → bool
-
Whether the item can be selected.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
Whether to show a trailing chevron (navigation indicator).
final
- icon → CNSymbol?
-
Optional SF Symbol shown before the label.
final
- isDestructive → bool
-
Whether this is a destructive action (shown in red).
final
- label → String
-
Display label for the item.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subtitle → String?
-
Optional subtitle text shown below the label in gray.
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