MenuAcceleratorCallbackBinding constructor

const MenuAcceleratorCallbackBinding({
  1. Key? key,
  2. VoidCallback? onInvoke,
  3. bool hasSubmenu = false,
  4. required Widget child,
})

Create a const MenuAcceleratorCallbackBinding.

The child parameter is required.

Implementation

const MenuAcceleratorCallbackBinding({
  super.key,
  this.onInvoke,
  this.hasSubmenu = false,
  required super.child,
});