MenuStyle constructor
MenuStyle({
- Axis? axis,
- VisualDensity? visualDensity,
- double? vertMenuMinWidth,
- double? vertPadding,
- double? areaPadding,
- double? buttonMenuPadding,
- Color? backgroundColor,
- MenuItemMaterialStateProperty<
Color> ? foregroundColor, - double? elevation,
- TextStyle? textStyle,
- MenuItemStyle? itemStyle,
- DividerThemeData? dividerStyle,
- bool? isAnimated,
- 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
});