JsonPopupMenuButtonBuilderModel constructor
const
JsonPopupMenuButtonBuilderModel(
- Map<
String, dynamic> args, { - Clip clipBehavior = Clip.none,
- Color? color,
- BoxConstraints? constraints,
- double? elevation,
- bool? enableFeedback,
- bool enabled = true,
- JsonWidgetData? icon,
- Color? iconColor,
- double? iconSize,
- dynamic initialValue,
- required List<
PopupMenuEntry> itemBuilder(), - Offset offset = Offset.zero,
- void onCanceled()?,
- void onOpened()?,
- void onSelected(
- dynamic
- EdgeInsetsGeometry padding = const EdgeInsets.all(8.0),
- AnimationStyle? popUpAnimationStyle,
- PopupMenuPosition? position,
- RouteSettings? routeSettings,
- Color? shadowColor,
- ShapeBorder? shape,
- double? splashRadius,
- ButtonStyle? style,
- Color? surfaceTintColor,
- String? tooltip,
- 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,
});