MenuItem class
Provides data for the menu child
Constructors
- MenuItem({required String title, TextStyle? style, required VoidCallback onTap})
- Provides data for the menu child.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onTap → VoidCallback
-
Item menu child onTap function.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → TextStyle?
-
Text Style of the menu child item.
final
- title → String
-
Title of the item menu child.
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