Text Transform
Use text transform utilities to control the capitalization of text.
Basic example
Section titled “Basic example”Use uppercase, lowercase, capitalize, and normal-case to control the
capitalization of text:
Style('uppercase', child: Text('The quick brown fox ...'))Style('lowercase', child: Text('The quick brown fox ...'))Style('capitalize', child: Text('The quick brown fox ...'))Style('normal-case', child: Text('The quick brown fox ...'))Class reference
Section titled “Class reference”| Class | Transform |
|---|---|
uppercase | Transforms text to UPPERCASE |
lowercase | Transforms text to lowercase |
capitalize | Capitalizes The First Letter Of Each Word |
normal-case | Resets text transform to none |