onInvoke property

VoidCallback? onInvoke
final

The function that pressing the accelerator defined in a descendant MenuAcceleratorLabel will invoke.

If set to null, then the accelerator won't be enabled.

Implementation

final VoidCallback? onInvoke;