MenuStyle constructor

MenuStyle({
  1. Axis? axis,
  2. VisualDensity? visualDensity,
  3. double? vertMenuMinWidth,
  4. double? vertPadding,
  5. double? vertSubmenuMargin,
  6. double? horzSubmenuMargin,
  7. double? areaPadding,
  8. double? buttonMenuPadding,
  9. Color? backgroundColor,
  10. MenuItemMaterialStateProperty<Color>? foregroundColor,
  11. double? elevation,
  12. TextStyle? textStyle,
  13. MenuItemStyle? itemStyle,
  14. DividerThemeData? dividerStyle,
  15. bool? isAnimated,
  16. Duration? animationDuration,
})

Implementation

MenuStyle({
  this.axis,
  this.visualDensity,
  this.vertMenuMinWidth,
  this.vertPadding,
  this.vertSubmenuMargin,
  this.horzSubmenuMargin,
  this.areaPadding,
  this.buttonMenuPadding,
  this.backgroundColor,
  this.foregroundColor,
  this.elevation,
  this.textStyle,
  this.itemStyle,
  this.dividerStyle,
  this.isAnimated,
  this.animationDuration
});