onChangeCodeview property

void Function(String?)? onChangeCodeview
getter/setter pair

Called whenever the code of the editor is changed and the editor is in code view.

Note: This function also seems to be called if input is detected in the editor field but the content does not change. E.g. repeatedly pressing backspace when the field is empty will also trigger this callback.

This function will return the current code in the codeview as an argument.

Implementation

void Function(String?)? onChangeCodeview;