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