AttributionLinks

fun AttributionLinks(attributions: List<String>, modifier: Modifier = Modifier, textStyle: TextStyle = MaterialTheme.typography.bodyMedium, linkStyles: TextLinkStyles? = AttributionButtonDefaults.linkStyles(), spacing: Dp = 8.dp, breakWithinAttribution: Boolean = false)(source)

Attribution links in a flow layout using the Material 3 theme.

Parameters

attributions
textStyle

Style of the attribution text.

linkStyles

Optional style for hyperlinks. Default is primary color and underlined.

spacing

The horizontal spacing between items in the flow layout.

breakWithinAttribution

Whether the text within an individual attribution should break lines or scroll horizontally. Line breaks may still be inserted between attributions even when this is true.