JsonPopupMenuButtonBuilderModel constructor

const JsonPopupMenuButtonBuilderModel(
  1. Map<String, dynamic> args, {
  2. Clip clipBehavior = Clip.none,
  3. Color? color,
  4. BoxConstraints? constraints,
  5. double? elevation,
  6. bool? enableFeedback,
  7. bool enabled = true,
  8. JsonWidgetData? icon,
  9. Color? iconColor,
  10. double? iconSize,
  11. dynamic initialValue,
  12. required List<PopupMenuEntry> itemBuilder(
    1. BuildContext
    ),
  13. Offset offset = Offset.zero,
  14. void onCanceled()?,
  15. void onOpened()?,
  16. void onSelected(
    1. dynamic
    )?,
  17. EdgeInsetsGeometry padding = const EdgeInsets.all(8.0),
  18. AnimationStyle? popUpAnimationStyle,
  19. PopupMenuPosition? position,
  20. RouteSettings? routeSettings,
  21. Color? shadowColor,
  22. ShapeBorder? shape,
  23. double? splashRadius,
  24. ButtonStyle? style,
  25. Color? surfaceTintColor,
  26. String? tooltip,
  27. bool useRootNavigator = false,
  28. JsonWidgetData? child,
})

Implementation

const JsonPopupMenuButtonBuilderModel(
  super.args, {
  this.clipBehavior = Clip.none,
  this.color,
  this.constraints,
  this.elevation,
  this.enableFeedback,
  this.enabled = true,
  this.icon,
  this.iconColor,
  this.iconSize,
  this.initialValue,
  required this.itemBuilder,
  this.offset = Offset.zero,
  this.onCanceled,
  this.onOpened,
  this.onSelected,
  this.padding = const EdgeInsets.all(8.0),
  this.popUpAnimationStyle,
  this.position,
  this.routeSettings,
  this.shadowColor,
  this.shape,
  this.splashRadius,
  this.style,
  this.surfaceTintColor,
  this.tooltip,
  this.useRootNavigator = false,
  this.child,
});