dashedBorder

fun ERROR CLASS: Symbol not found for Modifier.dashedBorder(border: ERROR CLASS: Symbol not found for BorderStroke, shape: ERROR CLASS: Symbol not found for Shape = RectangleShape): ERROR CLASS: Symbol not found for Modifier

Modify element to add border with appearance specified with a border and a shape, pad the content by the BorderStroke.width and clip it.

Parameters

border

BorderStroke class that specifies border appearance, such as size and color

shape

shape of the border


fun ERROR CLASS: Symbol not found for Modifier.dashedBorder(width: ERROR CLASS: Symbol not found for Dp, color: ERROR CLASS: Symbol not found for Color, shape: ERROR CLASS: Symbol not found for Shape = RectangleShape): ERROR CLASS: Symbol not found for Modifier

Returns a Modifier that adds border with appearance specified with width, color and a shape, pads the content by the width and clips it.

Parameters

width

width of the border. Use Dp.Hairline for a hairline border.

color

color to paint the border with

shape

shape of the border