onBlur property

(void Function()?) onBlur
getter/setter pair

Called whenever either the rich text field or the codeview field loses focus. This will also be triggered when switching from the rich text editor to the code view editor.

Note: Due to the current state of webviews in Flutter, tapping outside the webview or dismissing the keyboard does not trigger this callback. This callback will only be triggered if the user taps on an empty space in the toolbar or switches the view mode of the editor.

Implementation

void Function()? onBlur;