flutter hot to convert text to uppercase code example Example: flutter to capital letter 'alphabet'.toUpperCase(); // 'ALPHABET' 'ABC'.toUpperCase(); // 'ABC'