ShadContextMenu constructor
const
ShadContextMenu({
- Key? key,
- required Widget child,
- required List<
Widget> items, - ShadAnchorBase? anchor,
- bool? visible,
- BoxConstraints? constraints,
- ValueChanged<
bool> ? onHoverArea, - EdgeInsetsGeometry? padding,
- Object? groupId,
- List<
Effect> ? effects, - List<
BoxShadow> ? shadows, - ShadDecoration? decoration,
- ImageFilter? filter,
- ShadContextMenuController? controller,
- TapRegionCallback? onTapOutside,
- TapRegionCallback? onTapInside,
- TapRegionUpCallback? onTapUpInside,
- TapRegionUpCallback? onTapUpOutside,
- Duration? popoverReverseDuration,
Implementation
const ShadContextMenu({
super.key,
required this.child,
required this.items,
this.anchor,
this.visible,
this.constraints,
this.onHoverArea,
this.padding,
this.groupId,
this.effects,
this.shadows,
this.decoration,
this.filter,
this.controller,
this.onTapOutside,
this.onTapInside,
this.onTapUpInside,
this.onTapUpOutside,
this.popoverReverseDuration,
});