ShadContextMenu constructor

const ShadContextMenu({
  1. Key? key,
  2. required Widget child,
  3. required List<Widget> items,
  4. ShadAnchorBase? anchor,
  5. bool? visible,
  6. BoxConstraints? constraints,
  7. ValueChanged<bool>? onHoverArea,
  8. EdgeInsetsGeometry? padding,
  9. Object? groupId,
  10. List<Effect>? effects,
  11. List<BoxShadow>? shadows,
  12. ShadDecoration? decoration,
  13. ImageFilter? filter,
  14. ShadContextMenuController? controller,
  15. TapRegionCallback? onTapOutside,
  16. TapRegionCallback? onTapInside,
  17. TapRegionUpCallback? onTapUpInside,
  18. TapRegionUpCallback? onTapUpOutside,
  19. 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,
});