MenuBarItem class
A top-level menu entry containing a label and a list of MenuItem children.
Each MenuBarItem appears as a button in the menu bar. Activating it opens a dropdown showing its children.
Constructors
-
MenuBarItem({required String label, required List<
MenuItem> children}) -
Creates a MenuBarItem with the given
labelandchildren.const
Properties
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