DVMenus class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
selected
→ Stream<String>
-
Selections, by item id, for code that did not set the menu.
no setter
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
Installs
menu as the application menu and runs onSelected with the
id of whatever the user chooses.
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
dispatch(String id)
→ void
-
What a native binding calls when an item is chosen.
-
reset()
→ void
-
Drops the menu and its handler. Tests use this so one cannot receive
another's selections.