IconMenuItem<T> class
One option in an IconMenu.
Constructors
- IconMenuItem({required IconData icon, required T value, required String tooltip})
-
Creates an icon menu option.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData
-
The icon that represents this option.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tooltip → String
-
A description of the option. Not currently shown.
final
- value → T
-
The value this option stands for.
final
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