StudioMenuBarMenu class
One menu of a StudioMenuBar: its title and its actions.
StudioMenuBarMenu('Episode', [StudioMenuItem(label: 'New', shortcut: '⌘ N', onPressed: create)])
- Annotations
Constructors
-
StudioMenuBarMenu(String label, List<
StudioMenuItem> items) -
A menu titled
label.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
items
→ List<
StudioMenuItem> -
Its actions.
final
- label → String
-
Its title in the bar.
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