utils/text_layout_client library

Classes

RenderEditableLayoutClient
TextLayoutClient adapter for RenderEditable.
RenderParagraphLayoutClient
TextLayoutClient adapter for RenderParagraph.
TextLayoutClient
Minimal interface to access text layout boxes from either RenderEditable or TextPainter.
TextPainterLayoutClient
TextLayoutClient adapter for TextPainter.

Functions

buildSelectionPath({required TextLayoutClient layout, required String text, required TextSelection selection, bool skipWhitespace = true}) → (Path?, List<Rect>)
Build a path for a selection using any TextLayoutClient.