flutter capitalize words code example Example: flutter to capital letter 'alphabet'.toUpperCase(); // 'ALPHABET' 'ABC'.toUpperCase(); // 'ABC'