MenuItem class

Constructors

Properties

hashCode int
The hash code for this object.
no setterinherited
hasIcon bool
no setter
hasLeading bool
no setter
icon IconData?
Icon to be used in the leading widget of MenuItemWidget
final
isCloseDrawerWhenTapped bool
final
leading Widget?
Widget to be used for the leading of MenuTtemWidget
final
onTap → (void Function()?)
Function to be called when this MenuItemWidget is tapped
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
Text to be used for the title of MenuItemWidget
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