AppPopupMenu constructor
AppPopupMenu({
- Key? key,
- PopupMenuControllerMixin<
String> ? controller, - List<
String> ? items, - PopupMenuItemBuilder<
String> ? itemBuilder, - String? initialValue,
- VoidCallback? inOpened,
- PopupMenuItemSelected<
String> ? inSelected, - PopupMenuCanceled? inCanceled,
- String? tooltip,
- double? elevation,
- EdgeInsetsGeometry? padding,
- Widget? child,
- double? splashRadius,
- Widget? icon,
- double? iconSize,
- Offset? offset,
- bool? enabled,
- ShapeBorder? shape,
- Color? color,
- bool? enableFeedback,
- BoxConstraints? constraints,
- PopupMenuPosition? position,
- Clip? clipBehavior,
- String? inTooltip()?,
- double? inElevation()?,
- EdgeInsetsGeometry? inPadding()?,
- double? inSplashRadius()?,
- Widget? inChild()?,
- Widget? inIcon()?,
- double? inIconSize()?,
- Offset? inOffset()?,
- bool? inEnabled()?,
- ShapeBorder? inShape()?,
- Color? inColor()?,
- bool? inEnableFeedback()?,
- BoxConstraints? inConstraints()?,
- PopupMenuPosition? inPosition()?,
- Clip? inClipBehavior()?,
Implementation
AppPopupMenu({
super.key,
super.controller,
super.items,
super.menuEntries,
super.itemBuilder,
super.initialValue,
super.inOpened,
super.inSelected,
super.inCanceled,
super.tooltip,
super.elevation,
super.padding,
super.child,
super.splashRadius,
super.icon,
super.iconSize,
super.offset,
super.enabled,
ShapeBorder? shape,
super.color,
super.enableFeedback,
super.constraints,
PopupMenuPosition? position,
super.clipBehavior,
super.inTooltip,
super.inElevation,
super.inPadding,
super.inSplashRadius,
super.inChild,
super.inIcon,
super.inIconSize,
super.inOffset,
super.inEnabled,
super.inShape,
super.inColor,
super.inEnableFeedback,
super.inConstraints,
super.inPosition,
super.inClipBehavior,
}) : super(
shape: shape ??
RoundedRectangleBorder(
borderRadius: BorderRadius.circular(16),
),
position: position ?? PopupMenuPosition.under,
);