I am writing an application on Flutter. I want to dynamically change the font size in the text field (actually TextFormField) when the number of characters in it increases. What I want to achieve is that when a user enters a huge amount, I want to reduce the font size of the text field to accommodate the entire amount.
There is a very useful library you might want to take a look at which is auto_size_text. It has some good controls for the dynamic text size change based on length and other attributes.