MaterialPopupMenuData class

Constructors

MaterialPopupMenuData({Key? key, Widget? icon, PopupMenuItemBuilder<PopupMenuOption>? itemBuilder, Widget? child, Color? color, double? elevation, bool? enableFeedback, bool? enabled, double? iconSize, PopupMenuOption? initialValue, Offset? offset, PopupMenuCanceled? onCanceled, EdgeInsets? padding, ShapeBorder? shape, String? tooltip, BoxConstraints? constraints, PopupMenuPosition? position, double? splashRadius, Clip clipBehavior = Clip.none, VoidCallback? onOpened, Color? shadowColor, Color? surfaceTintColor, Color? iconColor, AnimationStyle? popUpAnimationStyle, bool? useRootNavigator, ButtonStyle? style, BorderRadius? borderRadius, EdgeInsetsGeometry? menuPadding, bool? requestFocus, RouteSettings? routeSettings})

Properties

borderRadius → BorderRadius?
final
child → Widget?
final
clipBehavior → Clip
final
color → Color?
final
constraints → BoxConstraints?
final
elevation → double?
final
enabled → bool?
final
enableFeedback → bool?
final
hashCode → int
The hash code for this object.
no setterinherited
icon → Widget?
final
iconColor → Color?
final
iconSize → double?
final
initialValue → PopupMenuOption?
final
itemBuilder → PopupMenuItemBuilder<PopupMenuOption>?
final
key → Key?
final
final
offset → Offset?
final
onCanceled → VoidCallback?
final
onOpened → VoidCallback?
final
padding → EdgeInsets?
final
popUpAnimationStyle → AnimationStyle?
final
position → PopupMenuPosition?
final
requestFocus → bool?
final
routeSettings → RouteSettings?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shadowColor → Color?
final
shape → ShapeBorder?
final
splashRadius → double?
final
style → ButtonStyle?
final
surfaceTintColor → Color?
final
tooltip → String?
final
useRootNavigator → bool?
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