RawMenuAnchorOverlayBuilder typedef

RawMenuAnchorOverlayBuilder = Widget Function(BuildContext context, RawMenuOverlayInfo info)

Signature for the builder function used by RawMenuAnchor.overlayBuilder to build a menu's overlay.

The context is the context that the overlay is being built in.

The info describes the anchor's Rect, the Size of the overlay, the TapRegion.groupId used by members of the menu system, and the position argument passed to MenuController.open.

Implementation

typedef RawMenuAnchorOverlayBuilder =
    Widget Function(BuildContext context, RawMenuOverlayInfo info);