MenuSeparator class
A menu item that serves as a separator, generally drawn as a line.
- Inheritance
-
- Object
- MenuItemBase
- MenuSeparator
Constructors
- MenuSeparator()
- Creates a new separator item.
Properties
- channel ↔ MethodChannel?
-
getter/setter pairinherited
- checked ↔ bool
-
Whether or not the menu item is checked.
getter/setter pairinherited
- 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