onFocus property

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

Called whenever the rich text field gains focus. This will not be called when the code view editor gains focus, instead use onBlurCodeview for that.

Implementation

void Function()? onFocus;