Chrome Extension

Convert text of Text widget to uppercase or lowercase in Flutter

You can use string methods of toUpperCase() and toLowerCase() to transform Text Widget text.
//Convert to uppercase
Text(
    "Hello World".toUpperCase(),
),

//Convert to lowercase
Text(
    "Hello World".toLowerCase(),
),
Best JSON Validator, JSON Tree Viewer, JSON Beautifier at same place. Check how cool is the tool

Search Index Data (The code snippet can also be found with below search text)

text transform uppercase flutter
Was this helpful?
0 Comments