WarcraftMenuAction constructor

const WarcraftMenuAction({
  1. required String label,
  2. VoidCallback? onSelected,
  3. bool enabled = true,
  4. Widget? leading,
  5. 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,
});