ModPopupMenuItem<T> class

Modelo para representar um item do menu popup

Constructors

ModPopupMenuItem.new({required T value, String? text, IconData? icon, Color? textColor, Color? iconColor, bool enabled = true, Widget? child, List<ModPopupMenuItem<T>>? submenu})
const

Properties

child Widget?
final
enabled bool
final
hashCode int
The hash code for this object.
no setterinherited
icon IconData?
final
iconColor Color?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
final
text String?
final
textColor Color?
final
value → T
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