fit_text library
Text that shrinks to fit its box — correctly, including inside
IntrinsicHeight, IntrinsicWidth and Table cells.
FitText('A headline that must never wrap', maxLines: 1, minFontSize: 12)
Classes
- FitText
- Text that shrinks to fit the space it is given.
- FitTextGroup
- Makes several FitText widgets settle on one shared font size.
- RenderFitText
- Lays out an InlineSpan at the largest font size that fits its box.