WarcraftMenuAction constructor
const
WarcraftMenuAction({
- required String label,
- VoidCallback? onSelected,
- bool enabled = true,
- Widget? leading,
- Widget? trailing,
Creates a WarcraftMenuAction with the given label and onSelected
callback.
Implementation
const WarcraftMenuAction({
required this.label,
this.onSelected,
this.enabled = true,
this.leading,
this.trailing,
});