Divider

@Composable
fun Divider(modifier: Modifier = Modifier, color: Color = DividerDefaults.color, thickness: Dp = DividerDefaults.thickness, orientation: Orientation = Orientation.Horizontal)

A divider is a thin line that groups content in lists and layouts.

Parameters

modifier

The Modifier used for divider.

color

color of the divider line

thickness

thickness of the divider line, 1 dp is used by default.

orientation

the orientation of the line, default is horizontal