MaterialPopupMenuData constructor

MaterialPopupMenuData({
  1. Key? key,
  2. Widget? icon,
  3. PopupMenuItemBuilder<PopupMenuOption>? itemBuilder,
  4. Widget? child,
  5. Color? color,
  6. double? elevation,
  7. bool? enableFeedback,
  8. bool? enabled,
  9. double? iconSize,
  10. PopupMenuOption? initialValue,
  11. Offset? offset,
  12. PopupMenuCanceled? onCanceled,
  13. EdgeInsets? padding,
  14. ShapeBorder? shape,
  15. String? tooltip,
  16. BoxConstraints? constraints,
  17. PopupMenuPosition? position,
  18. double? splashRadius,
  19. Clip clipBehavior = Clip.none,
  20. VoidCallback? onOpened,
  21. Color? shadowColor,
  22. Color? surfaceTintColor,
  23. Color? iconColor,
  24. AnimationStyle? popUpAnimationStyle,
  25. bool? useRootNavigator,
})

Implementation

MaterialPopupMenuData({
  this.key,
  this.icon,
  this.itemBuilder,
  this.child,
  this.color,
  this.elevation,
  this.enableFeedback,
  this.enabled,
  this.iconSize,
  this.initialValue,
  this.offset,
  this.onCanceled,
  this.padding,
  this.shape,
  this.tooltip,
  this.constraints,
  this.position,
  this.splashRadius,
  this.clipBehavior = Clip.none,
  this.onOpened,
  this.shadowColor,
  this.surfaceTintColor,
  this.iconColor,
  this.popUpAnimationStyle,
  this.useRootNavigator,
});