onKeyUp property

void Function(int?)? onKeyUp
getter/setter pair

Called whenever a key is released and the editor is in rich text view.

This function will return the keycode for the released key as an argument.

Note: The keycode is broken on Android, you will only ever receive 229, 8 (backspace), or 13 (enter) as a keycode. 8 and 13 only seem to be returned when the editor is empty and those keys are released.

Implementation

void Function(int?)? onKeyUp;