RawMenuAnchor constructor
- Key? key,
- FocusNode? childFocusNode,
- bool consumeOutsideTaps = false,
- VoidCallback? onOpen,
- VoidCallback? onClose,
- bool useRootOverlay = false,
- RawMenuAnchorChildBuilder? builder,
- required MenuController controller,
- required RawMenuAnchorOverlayBuilder overlayBuilder,
- Widget? child,
A RawMenuAnchor that delegates overlay construction to an overlayBuilder
.
The overlayBuilder
should not be null.
Implementation
const RawMenuAnchor({
super.key,
this.childFocusNode,
this.consumeOutsideTaps = false,
this.onOpen,
this.onClose,
this.useRootOverlay = false,
this.builder,
required this.controller,
required this.overlayBuilder,
this.child,
});