show method

  1. @override
OverlayCompleter<T?> show(
  1. BuildContext context
)
override

Actually presents the overlay using this configuration's mechanism.

Implementation

@override
OverlayCompleter<T?> show(BuildContext context) {
  return OverlayManager.of(context).showMenu<T>(
    context: context,
    builder: builder,
    alignment: alignment,
    position: position,
    anchorAlignment: anchorAlignment,
    widthConstraint: widthConstraint,
    heightConstraint: heightConstraint,
    key: key,
    rootOverlay: rootOverlay,
    modal: modal,
    barrierDismissable: barrierDismissable,
    clipBehavior: clipBehavior,
    offset: offset,
    follow: follow,
    overlayBarrier: overlayBarrier,
  );
}