PlatformPopupMenuItem<T> class

Constructors

PlatformPopupMenuItem({required Widget child, required T value, void onTap()?, bool enabled = true})

Properties

child Widget
final
enabled bool
final
hashCode int
The hash code for this object.
no setterinherited
onTap ↔ void Function()?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → T
final

Methods

android(BuildContext context) PopupMenuItem<T>
ios(BuildContext context, {void onSelected(T)?}) PopupMenuItem<T>
linux(BuildContext context, {required bool closeAfterClick, void onSelected(T)?}) → AdwButton
macos(BuildContext context, {void onSelected(T)?}) → MacosPulldownMenuItem
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
windows(BuildContext context, {void onSelected(T)?}) → MenuFlyoutItem

Operators

operator ==(Object other) bool
The equality operator.
inherited