AppPopupMenu constructor

AppPopupMenu({
  1. Key? key,
  2. PopupMenuControllerMixin<String>? controller,
  3. List<String>? items,
  4. List<PopupMenuEntry<String>>? menuEntries,
  5. PopupMenuItemBuilder<String>? itemBuilder,
  6. String? initialValue,
  7. VoidCallback? inOpened,
  8. PopupMenuItemSelected<String>? inSelected,
  9. PopupMenuCanceled? inCanceled,
  10. String? tooltip,
  11. double? elevation,
  12. EdgeInsetsGeometry? padding,
  13. Widget? child,
  14. double? splashRadius,
  15. Widget? icon,
  16. double? iconSize,
  17. Offset? offset,
  18. bool? enabled,
  19. ShapeBorder? shape,
  20. Color? color,
  21. bool? enableFeedback,
  22. BoxConstraints? constraints,
  23. PopupMenuPosition? position,
  24. Clip? clipBehavior,
  25. String? inTooltip()?,
  26. double? inElevation()?,
  27. EdgeInsetsGeometry? inPadding()?,
  28. double? inSplashRadius()?,
  29. Widget? inChild()?,
  30. Widget? inIcon()?,
  31. double? inIconSize()?,
  32. Offset? inOffset()?,
  33. bool? inEnabled()?,
  34. ShapeBorder? inShape()?,
  35. Color? inColor()?,
  36. bool? inEnableFeedback()?,
  37. BoxConstraints? inConstraints()?,
  38. PopupMenuPosition? inPosition()?,
  39. 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,
      );