TextTheme
TextTheme
#
Customizes Text
styles.
Material 3 design defines 5 groups of text styles with 3 sizes in each group: "Display", "Headline", "Title", "Label" and "Body" which are used across Flet controls.
body_large
#
body_large: TextStyle | None = None
Largest of the body styles. Body styles are used for longer passages of text.
body_medium
#
body_medium: TextStyle | None = None
Middle size of the body styles. Body styles are used for longer passages of text. The default text style for Material.
display_large
#
display_large: TextStyle | None = None
Largest of the display styles. As the largest text on the screen, display styles are reserved for short, important text or numerals. They work best on large screens.
headline_large
#
headline_large: TextStyle | None = None
Largest of the headline styles. Headline styles are smaller than display styles. They're best-suited for short, high-emphasis text on smaller screens.
label_large
#
label_large: TextStyle | None = None
Largest of the label styles. Label styles are smaller, utilitarian styles, used for
areas of the UI such as text inside of components or very small supporting text in
the content body, like captions. Used for text on
ElevatedButton
, TextButton
and
OutlinedButton
.