I retrieve a piece of text from an API. I want to allot a set amount of space to it (say a max Container with width: 300.0 and height: 100.0). Sometimes, the piece of text fits
Responsive_Flutter, I had the same issues since reading your problem. I found it Works every time using this package to resize your fonts.
This Flutter package is for scaling the size your apps UI and fontSize across different sized devices. (The example shows the top text using the Responsive_Flutter package and the bottom text without plugin.
https://github.com/layounisl/responsive_flutter
You can install in 30 seconds - 3 Steps