ContextMenuProps class
Context menu component properties.
Constructors
-
ContextMenuProps({required String id, required Widget trigger, required List<
ArcaneMenuItem> items, bool keepOpenOnAction = false, ArcaneStyleData? styles, ArcaneDecoration? decoration}) -
const
Properties
- decoration → ArcaneDecoration?
-
Semantic, theme-interpreted decoration (elevation intent + theme-specific
fields honored-or-ignored per theme).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
-
items
→ List<
ArcaneMenuItem> -
final
- keepOpenOnAction → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- styles → ArcaneStyleData?
-
Literal, theme-permeable style override (always applied, wins over theme).
final
- trigger → Widget
-
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