setCaretRectAndTransform method
Informs the text input control about caret area changes.
This method is called when the attached input client's caret area changes.
Implementation
@override
void setCaretRectAndTransform(Rect rect, Matrix4 transform) {
super.setCaretRectAndTransform(rect, transform);
_candidate?.caretRightBottomPoint = caretRightBottomOffset;
_candidate?.caretLongSize = max(rect.width, rect.height);
}