text library Null safety
Flutter widgets implementing text.
To use, import
- Prevents the Text widget from clipping by setting an overflow property. The text can either be on one line or on mulitple lines. This will be needed to avoid pixel overflow if very long strings are displayed on small devices e.g. displaying a long first or last name inside constrained widgets.
- Wrapps the Text widget inside a scaled down FittedBox to ensure the Text will be displayed on all screens without any pixel overflow or clipping. This could be needed if titles and headlines are displayed. Note that the wrapped ScaledDownText must receive definite boundaries by e.g. a SizedBox with a fixed width. [...]