setEditableSizeAndTransform method

  1. @override
void setEditableSizeAndTransform(
  1. Size editableBoxSize,
  2. Matrix4 transform
)
override

Informs the text input control about client position changes.

This method is called on when the input control should position itself in relation to the attached input client.

Implementation

@override
void setEditableSizeAndTransform(Size editableBoxSize, Matrix4 transform) {
  super.setEditableSizeAndTransform(editableBoxSize, transform);
  _editableTransform = transform;
  _editableSize = editableBoxSize;
  _inputControl?.setCaretRectAndTransform(_caretRect, _editableTransform);
}