DividerWithText

fun DividerWithText(@StringRes text: Int, modifier: Modifier = Modifier)

A divider with text in the middle.

Parameters

text

The text to display.

modifier

The modifier to apply to this layout.