SubMenu class
A menu item continaing a submenu.
The item itself can't be selected, it just displays the submenu.
- Inheritance
-
- Object
- MenuItemBase
- SubMenu
Constructors
Properties
- channel ↔ MethodChannel?
-
getter/setter pairinherited
- checked ↔ bool
-
Whether or not the menu item is checked.
getter/setter pairinherited
-
children
→ List<
MenuItemBase> -
The menu items contained in the submenu.
final
- enabled ↔ bool
-
Whether or not the menu item is enabled.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- image ↔ String?
-
getter/setter pairinherited
- imageAbsolutePath ↔ String?
-
getter/setter pairinherited
- label ↔ String
-
getter/setter pairinherited
-
getter/setter pairinherited
-
getter/setter pairinherited
- name ↔ String?
-
getter/setter pairinherited
- onClicked → MenuItemSelectedCallback?
-
The callback to call whenever the menu item is selected.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setCheck(
bool checked) → Future< void> -
inherited
-
setEnable(
bool enabled) → Future< void> -
inherited
-
setImage(
String image) → Future< void> -
inherited
-
setLabel(
String label) → Future< void> -
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited