ContextMenu constructor

const ContextMenu({
  1. Key? key,
  2. required Widget child,
  3. required List<MenuItem> items,
  4. HitTestBehavior behavior = HitTestBehavior.translucent,
  5. Axis direction = Axis.vertical,
  6. bool enabled = true,
})

Implementation

const ContextMenu(
    {super.key,
    required this.child,
    required this.items,
    this.behavior = HitTestBehavior.translucent,
    this.direction = Axis.vertical,
    this.enabled = true});