border

open fun border(value: BorderContext.() -> Unit)

This function opens the context for defining the border related properties for all media devices.

Example call:

border {
// some functions of [BorderContext] with appropriate values for *all devices*
}

Parameters

value

extension function parameter to bring the specialized topical functions of the BorderContext into the scope of the functional expression

open fun border(sm: BorderContext.() -> Unit? = null, md: BorderContext.() -> Unit? = null, lg: BorderContext.() -> Unit? = null, xl: BorderContext.() -> Unit? = null)

This function opens the context for defining the border related properties for each media device independently.

Example call:

border(
sm = {
// some functions of [BorderContext] with appropriate values for *small devices*
},
lg = {
// some functions of [BorderContext] with appropriate values for *large devices*
}
)

Parameters

sm

extension function parameter to bring the specialized topical functions of the BorderContext into the scope of the functional expression

md

extension function parameter to bring the specialized topical functions of the BorderContext into the scope of the functional expression

lg

extension function parameter to bring the specialized topical functions of the BorderContext into the scope of the functional expression

xl

extension function parameter to bring the specialized topical functions of the BorderContext into the scope of the functional expression