renderers/render_paragraph library

Classes

FluentInlineParentData
ParentData for RenderBox children (images inside links) of the paragraph.
RenderFluentParagraph
RenderFluentParagraph with single TextPainter for all text. Supports WidgetSpan children (e.g. images inside Link): RenderBox children are laid out, positioned at placeholder offsets calculated by TextPainter and painted as part of the paragraph.

Functions

collectInlineImages(InlineContainerNode container) List<FluentImage>
Collects FluentImage in visitation order (both direct and those inside Link). Must produce the same order used by _buildTextSpanAndTrackPositions, so the placeholder index aligns the child RenderBox.