to uppercase for first letter flutter code example
Example 1: flutter capitalize first letter textfield
textCapitalization: TextCapitalization.sentences
Example 2: flutter to capital letter
'alphabet'.toUpperCase(); // 'ALPHABET'
'ABC'.toUpperCase(); // 'ABC'