flutter capitalize text 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'
Example 3: flutter uppercase text style
Text('Aposté todo a tu risa y perdí la mía. - JZ'.toUpperCase(), style: TextStyle(fontSize: 16.0, fontWeight: FontWeight.bold))