updateCaretRect method

void updateCaretRect(
  1. Rect rect
)

Implementation

void updateCaretRect(Rect rect) {
  connectionManager.updateCaretRect(rect);

  if (state.isComposing &&
      connectionManager.connection != null &&
      connectionManager.connection!.attached) {
    connectionManager.connection!.setComposingRect(rect);
  }
}