width

fun width(value: Thickness.() -> Property)

This function is used to set the width of a border for the border-width property or the individual side width property according to the passed BorderContext.widthKey value like `border-{side}-width`.

example call:

border {
width { normal }
}

Parameters

value

extension function parameter to bring the predefined thickness values (Thickness) of the theme into the scope of the functional expression