onCancel property

void Function()? onCancel
final

The function to call when the escape key is pressed.

If this value is null, then it will not be possible to cancel this editor.

Implementation

final void Function()? onCancel;