MenuProps constructor

const MenuProps({
  1. String? barrierLabel,
  2. Curve? barrierCurve,
  3. double? elevation,
  4. ShapeBorder? shape,
  5. PositionCallback? positionCallback,
  6. Color? barrierColor,
  7. Color? backgroundColor,
  8. bool barrierDismissible = true,
  9. AnimationController? animation,
  10. Clip clipBehavior = Clip.none,
  11. Duration animationDuration = const Duration(milliseconds: 300),
  12. bool borderOnForeground = false,
  13. BorderRadiusGeometry? borderRadius,
  14. Color? shadowColor,
})

Implementation

const MenuProps({
  this.barrierLabel,
  this.barrierCurve,
  this.elevation,
  this.shape,
  this.positionCallback,
  this.barrierColor,
  this.backgroundColor,
  this.barrierDismissible = true,
  this.animation,
  this.clipBehavior = Clip.none,
  this.animationDuration = const Duration(milliseconds: 300),
  this.borderOnForeground = false,
  this.borderRadius,
  this.shadowColor,
});