MaterialPopupMenuData constructor
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,
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,
});