onCancelSelection property
Called when the selection has been cancelled.
This is called only when selection is explicit cancelled by the user when a NesInputEvent.cancel is triggered by a keyboard or gamepad.
Implementation
final VoidCallback? onCancelSelection;