textScaler property
How the paragraph's TEXT is scaled for the reader (MediaQuery's
text scale, an accessibility setting); null is the ambient
MediaQuery.textScalerOf, as a Text's is. TextScaler.noScaling
keeps every length as written, as a layout of fixed pixel metrics
needs.
The glyphs of every run and the strut every line stands on --
lineHeight and ascent with them -- scale together, so the lines
grow with what they hold. ONLY TEXT SCALES: a WidgetSpan's widget
is laid out at its own size, and the text inside it scales once, by
its own Text -- as CSS text zoom scales each font once and no box --
where a RichText scales a WidgetSpan's box as a whole, and the
text in it a second time.
Implementation
final TextScaler? textScaler;