How to apply uniform letter spacing to all the letters being added to the TextFormField in Flutter?

75 Views Asked by At

Is it possible to apply letter spacing uniformly based on the text form field width and the letters being added to it?

For example, consider that my text form field width is 50, and I add a five-letter word to it. My expectation here is that I want each letter to be uniformly spaced (say 10 here) within the text field.

Can anyone share your input on this?

1

There are 1 best solutions below

2
APEALED On

Apply FontFeature.tabularFigures to style provided to your TextField.style

reference: TextStyle.fontFeatures