🌈 Create new beautiful Compose Gradients with our new wesite ->
Function

BorderStroke

Create BorderStroke class with width and Color

BorderStroke

Source set: Common
public fun BorderStroke(width: Dp, color: Color): BorderStroke

Create BorderStroke class with width and Color

Parameters

width width of the border in Dp. Use Dp.Hairline for one-pixel border.
color color to paint the border with