Skip to content

Glossary: Flutter

Text and TextStyle

Also written: Text, TextStyle

`Text` is the widget that shows a string. Its `style` takes a `TextStyle` to change size, weight or color, such as `TextStyle(fontSize: 18, fontWeight: FontWeight.bold)`.

Where the book teaches it

Related terms

Icontheme