M3EMenuGroup class
Elevated surface / subgroup of items with optional section label.
Each top-level M3EMenuGroup becomes its own elevated menu container; consecutive non-group nodes share one implicit surface.
- Inheritance
-
- Object
- M3EMenuNode
- M3EMenuGroup
- Annotations
Constructors
-
M3EMenuGroup({required List<
M3EMenuNode> children, String? label}) -
M3EMenuGroup.
const
-
M3EMenuGroup.entries({required List<
M3EMenuNode> entries, String? label}) -
Alias that names the item list
entries(maps to children).const
Properties
-
children
→ List<
M3EMenuNode> -
children.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- label → String?
-
label.
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