MenuItem class
Default menu item
- Inheritance
-
- Object
- MenuItemProvider
- MenuItem
Constructors
- MenuItem({String title = "", Widget? image, dynamic userInfo, TextStyle textStyle = const TextStyle(color: Color(0xffc5c5c5), fontSize: 10.0), TextAlign textAlign = TextAlign.center})
- MenuItem.forList({required String title, Widget? image, dynamic userInfo, TextStyle textStyle = const TextStyle(color: Color(0xFF181818), fontSize: 10.0), TextAlign textAlign = TextAlign.center})
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- image ↔ Widget?
-
getter/setter pair
-
no setteroverride
-
no setteroverride
-
no setteroverride
-
no setteroverride
-
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textAlign ↔ TextAlign
-
getter/setter pair
- textStyle ↔ TextStyle
-
getter/setter pair
- title ↔ String
-
getter/setter pair
- userInfo ↔ dynamic
-
getter/setter pair
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