Question
Automating font size for TextFlow
I want to render a short one-line text in a container width a static width, where the font size is automatically decreased if the string is to long.
Is there a smarter way to do this besides starting with a large font size and decreasing it in a loop until the text fits in, like it's done here?
