RawMenuAnchorOpenRequestedCallback typedef

RawMenuAnchorOpenRequestedCallback = void Function(Offset? position, VoidCallback showOverlay)

Signature for the callback used by RawMenuAnchor.onOpenRequested to intercept requests to open a menu.

See RawMenuAnchor.onOpenRequested for more information.

Implementation

typedef RawMenuAnchorOpenRequestedCallback = void Function(
  Offset? position,
  VoidCallback showOverlay,
);