colorOneSideBorder

fun Modifier.colorOneSideBorder(borderToColor: BorderToColor = START, width: Dp, color: Color, shape: Shape = RectangleShape): Modifier

Method used to draw just one side of a component.

Take a look here for the source of this snippet

Parameters

borderToColor

: the border to color

width

: the width of the border to color

color

: the color of the border

shape

: the shape of the border