richtext_from_string library
Classes
- RichTextFromString
- RichTextFromString Converts a string into a RichText widget containing multiple TextSpans. The convert function is used to convert the annotatedText set by the constructor. Four different annotations can be set:
- RichTextOptions
- RichTextOptions Defines default styles applicable to the generated text spans. basicStyle defines the styling of the non-annotated text spans. boldStyle defines the styling of the bold-annotated text spans. italicStyle defines the styling of the italic-annotated text spans. underlineStyle defines the styling of the underline-annotated text spans. gestureStyle defines the styling of the gesture-annotated text spans.