MenuConfiguration<T> constructor
const
MenuConfiguration<T> ({
- required WidgetBuilder builder,
- AlignmentGeometry alignment = Alignment.center,
- Offset? position,
- AlignmentGeometry? anchorAlignment,
- PopoverConstraint widthConstraint = PopoverConstraint.flexible,
- PopoverConstraint heightConstraint = PopoverConstraint.flexible,
- bool rootOverlay = true,
- bool modal = true,
- bool barrierDismissable = true,
- Clip clipBehavior = Clip.none,
- Offset? offset,
- bool follow = true,
- OverlayBarrier? overlayBarrier,
- Key? key,
Creates a MenuConfiguration.
Implementation
const MenuConfiguration({
required this.builder,
this.alignment = Alignment.center,
this.position,
this.anchorAlignment,
this.widthConstraint = PopoverConstraint.flexible,
this.heightConstraint = PopoverConstraint.flexible,
this.rootOverlay = true,
this.modal = true,
this.barrierDismissable = true,
this.clipBehavior = Clip.none,
this.offset,
this.follow = true,
this.overlayBarrier,
this.key,
});