blocksRenderDirectly property

bool blocksRenderDirectly
final

Whether a block construct is rendered as a sibling widget rather than as a placeholder inside a paragraph.

A block's own content normally opts out of text scaling, because the paragraph holding its placeholder has already scaled it — scaling twice was the bug that produced overlapping text. Lift the block out of the paragraph and there is nothing left to scale it, so it has to scale itself. Set by the layout, not by a consumer.

Implementation

final bool blocksRenderDirectly;