Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
sealed class TextSegment

Represents a segment of text that can be either plain text or a clickable link.

Link copied to clipboard

Builder for creating text segments with links.

Functions

Link copied to clipboard
fun BpkLink(text: String, onLinkClicked: (String) -> Unit, modifier: Modifier = Modifier, textStyle: TextStyle = LocalTextStyle.current, style: BpkLinkStyle = BpkLinkStyle.Default)

BpkLink component for displaying text with clickable links using markdown syntax.

fun BpkLink(segments: List<TextSegment>, onLinkClicked: (String) -> Unit, modifier: Modifier = Modifier, textStyle: TextStyle = LocalTextStyle.current, style: BpkLinkStyle = BpkLinkStyle.Default)

BpkLink component for displaying text with clickable links using type-safe segments.

Link copied to clipboard
fun buildTextSegments(autoSpace: Boolean = true, block: TextSegmentBuilder.() -> Unit): List<TextSegment>