MenuItemStyleData constructor

const MenuItemStyleData({
  1. double height = _kMenuItemHeight,
  2. List<double>? customHeights,
  3. EdgeInsetsGeometry? padding,
  4. MaterialStateProperty<Color?>? overlayColor,
  5. SelectedMenuItemBuilder? selectedMenuItemBuilder,
})

Creates a MenuItemStyleData.

Implementation

const MenuItemStyleData({
  this.height = _kMenuItemHeight,
  this.customHeights,
  this.padding,
  this.overlayColor,
  this.selectedMenuItemBuilder,
});