MenuStyle constructor

const MenuStyle({
  1. MaterialStateProperty<Color?>? backgroundColor,
  2. MaterialStateProperty<Color?>? shadowColor,
  3. MaterialStateProperty<Color?>? surfaceTintColor,
  4. MaterialStateProperty<double?>? elevation,
  5. MaterialStateProperty<EdgeInsetsGeometry?>? padding,
  6. MaterialStateProperty<Size?>? minimumSize,
  7. MaterialStateProperty<Size?>? fixedSize,
  8. MaterialStateProperty<Size?>? maximumSize,
  9. MaterialStateProperty<BorderSide?>? side,
  10. MaterialStateProperty<OutlinedBorder?>? shape,
  11. MaterialStateProperty<MouseCursor?>? mouseCursor,
  12. VisualDensity? visualDensity,
  13. AlignmentGeometry? alignment,
})

Create a MenuStyle.

Implementation

const MenuStyle({
  this.backgroundColor,
  this.shadowColor,
  this.surfaceTintColor,
  this.elevation,
  this.padding,
  this.minimumSize,
  this.fixedSize,
  this.maximumSize,
  this.side,
  this.shape,
  this.mouseCursor,
  this.visualDensity,
  this.alignment,
});