flutter text field capitalize first letter code example
Example 1: flutter capitalize first letter textfield
textCapitalization: TextCapitalization.sentences
Example 2: flutter input text start with upper case
TextField(
keyboardType: TextInputType.text,
textCapitalization: TextCapitalization.sentences
)
Example 3: flutter to capital letter
'alphabet'.toUpperCase(); // 'ALPHABET'
'ABC'.toUpperCase(); // 'ABC'