MenuAcceleratorLabel constructor

const MenuAcceleratorLabel(
  1. String label, {
  2. Key? key,
  3. MenuAcceleratorChildBuilder builder = defaultLabelBuilder,
})

Creates a const MenuAcceleratorLabel.

The label parameter is required.

Implementation

const MenuAcceleratorLabel(
  this.label, {
  super.key,
  this.builder = defaultLabelBuilder,
});