bringIntoView method
Brings the provided TextPosition into the visible area of the text input.
Implementation
@override
void bringIntoView(TextPosition position) {
RenderEditable renderEditable = _textFormControlElement.renderEditable!;
KrakenScrollable _scrollable = _textFormControlElement._scrollable;
final Rect localRect = renderEditable.getLocalRectForCaret(position);
final RevealedOffset targetOffset = _textFormControlElement._getOffsetToRevealCaret(localRect);
_scrollable.position!.jumpTo(targetOffset.offset);
renderEditable.showOnScreen(rect: targetOffset.rect);
}