popUpContextualMenu function

Future<void> popUpContextualMenu(
  1. BuildContext context,
  2. Menu menu, {
  3. Offset? position,
  4. Placement placement = Placement.bottomRight,
})

Implementation

Future<void> popUpContextualMenu(
  BuildContext context,
  Menu menu, {
  Offset? position,
  Placement placement = Placement.bottomRight,
}) {
  return _ContextualMenu.instance.popUp(
    context,
    menu,
    position: position,
    placement: placement,
  );
}