Skip to main content

Module linked_text

Module linked_text 

Source
Expand description

LinkedText widget — renders AnnotatedString with link annotations auto-handled.

Mirrors the behaviour of Jetpack Compose BasicText / Text when the annotated string contains LinkAnnotation.Url or LinkAnnotation.Clickable.

Functions§

LinkedText
Displays annotated text and dispatches each link action. A URL annotation calls open_url; a clickable annotation calls its own handler. A shared Rc<AnnotatedString> retains the prepared text across uses.