MenuDropdownConfig constructor

const MenuDropdownConfig({
  1. Color backgroundColor = Colors.white,
  2. double borderRadius = 6,
  3. double elevation = 4,
  4. double? width,
  5. double? maxHeight,
  6. EdgeInsets contentPadding = const EdgeInsets.symmetric(vertical: 8),
  7. TextStyle? labelTextStyle = const TextStyle(color: Colors.black, fontSize: 14),
  8. Color? itemIconColor,
  9. double iconSize = 20,
  10. Duration animationDuration = const Duration(milliseconds: 150),
  11. MenuAlignment alignment = MenuAlignment.left,
  12. bool showAbove = false,
  13. Color? tooltipTextColor,
  14. Color? tooltipBackgroundColor,
  15. TextStyle? headerTextStyle,
  16. TextStyle? footerTextStyle,
})

Implementation

const MenuDropdownConfig({
  this.backgroundColor = Colors.white,
  this.borderRadius = 6,
  this.elevation = 4,
  this.width,
  this.maxHeight,
  this.contentPadding = const EdgeInsets.symmetric(vertical: 8),
  this.labelTextStyle = const TextStyle(color: Colors.black, fontSize: 14),
  this.itemIconColor,
  this.iconSize = 20,
  this.animationDuration = const Duration(milliseconds: 150),
  this.alignment = MenuAlignment.left,
  this.showAbove = false,
  this.tooltipTextColor,
  this.tooltipBackgroundColor,
  this.headerTextStyle,
  this.footerTextStyle,
});