onBlurCodeview property

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

Called whenever the code view either gains or loses focus (the Summernote docs say this will only be called when the code view loses focus but in my testing this is not the case). This will also be triggered when switching between the rich text editor and 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()? onBlurCodeview;