MenuConfiguration<T> constructor

const MenuConfiguration<T>({
  1. required WidgetBuilder builder,
  2. AlignmentGeometry alignment = Alignment.center,
  3. Offset? position,
  4. AlignmentGeometry? anchorAlignment,
  5. PopoverConstraint widthConstraint = PopoverConstraint.flexible,
  6. PopoverConstraint heightConstraint = PopoverConstraint.flexible,
  7. bool rootOverlay = true,
  8. bool modal = true,
  9. bool barrierDismissable = true,
  10. Clip clipBehavior = Clip.none,
  11. Offset? offset,
  12. bool follow = true,
  13. OverlayBarrier? overlayBarrier,
  14. 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,
});