Use BoxWithConstraints for adjusting the font size and getting screen size constraints. And for measuring purpose, you can use TextMeasurer or onTextLayout callback to determine if your texts are fitting within the available width and also set a minimum font size to avoid text becoming unreadable.