ExpressiveMenuSubmenu class

An item that opens a cascading menu of groups beside it (Compose's MenuWithCascadingMenusSample: a second popup at MenuAnchorPosition.End). A choice in it closes both menus.

Inheritance

Constructors

ExpressiveMenuSubmenu(String label, {ExpressiveComponentThemeData? style, required List<ExpressiveMenuGroup> groups, IconData? icon, String? supportingText})
An item labelled label that opens a cascading menu of groups.
const

Properties

enabled → bool
Whether it takes input: false when groups is null, as in Flutter.
no setter
groups → List<ExpressiveMenuGroup>
The cascading menu's groups.
final
hashCode → int
The hash code for this object.
no setterinherited
icon → IconData?
The glyph before the label.
final
label → String
The item's label.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
style → ExpressiveComponentThemeData?
Stateful visual overrides for this menu row.
finalinherited
supportingText → String?
A second line under the label.
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