components/typography/ouds_annotated_text library
Classes
- OudsAnnotatedText
-
An immutable, annotated text value produced by buildOudsAnnotatedText, used to color part of
a typography widget via its
.richconstructor (e.g. OudsHeadingText.rich). - OudsAnnotatedTextBuilder
-
A builder used to compose an OudsAnnotatedText for any typography
.richconstructor (OudsDisplayText.rich, OudsHeadingText.rich, OudsBodyText.rich, OudsLabelText.rich), letting you color only part of the text. - OudsAnnotatedTextSegment
- A single run of text within an OudsAnnotatedText, optionally colored via colorResolver.
Enums
- OudsTextWeight
- The emphasis level shared by OudsBodyText and OudsLabelText.
Functions
-
buildOudsAnnotatedText(
void block(OudsAnnotatedTextBuilder builder)) → OudsAnnotatedText -
Builds annotated text for use with a typography
.richconstructor.