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, })
Properties
- 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
- offset → Offset?
-
final
- onCanceled → PopupMenuCanceled?
-
final
- onOpened → VoidCallback?
-
final
- padding → EdgeInsets?
-
final
- popUpAnimationStyle → AnimationStyle?
-
final
- position → PopupMenuPosition?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shadowColor → Color?
-
final
- shape → ShapeBorder?
-
final
- splashRadius → double?
-
final
- surfaceTintColor → Color?
-
final
- tooltip → String?
-
final
-
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