QudsPopupMenuItem class
An item for QudsPopupMenu
like ListTile
- Inheritance
-
- Object
- QudsPopupMenuBase
- QudsPopupMenuItem
Constructors
- QudsPopupMenuItem({required Widget? title, required VoidCallback onPressed, VoidCallback? onLongPressed, bool popOnTap = true, Widget? subTitle, Widget? leading, Widget? trailing})
- Creates an instance of QudsPopupMenuItem
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- leading → Widget?
-
The leading widget of the item.
final
- onLongPressed → VoidCallback?
-
The event to be fired when the user long-presses the item
final
- onPressed → VoidCallback
-
The event to be fired when the user press the item
final
- popOnTap → bool
-
Weather to pop when the user press the item.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subTitle → Widget?
-
The subtitle widget of the item.
final
- title → Widget?
-
The title widget of the item.
final
- trailing → Widget?
-
The trailing widget of the item.
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