TMenubarMenu class

A top-level menu (e.g. "File", "Edit") inside a TMenubar.

Constructors

TMenubarMenu({required String label, required List<TDropdownItem> items})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
items → List<TDropdownItem>
The dropdown items shown when opened. Use TDropdownItem — the same model TDropdown and the sidebar use, so dividers (TDropdownItem(customContent: Divider(...))) and nested submenus (via children) work the same way here too.
final
label → String
The menu's label 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