borders

open fun borders(value: BordersContext.() -> Unit)

This function opens the intermediate context for defining the border related properties independently for each side for all media devices.

Example call:

borders {
// some functions of [BordersContext] with appropriate values for *all devices*
}

Parameters

value

extension function parameter to bring the specialized side related functions of the BordersContext into the scope of the functional expression

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

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

Example call:

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

Parameters

sm

extension function parameter to bring the specialized side related functions of the BordersContext into the scope of the functional expression

md

extension function parameter to bring the specialized side related functions of the BordersContext into the scope of the functional expression

lg

extension function parameter to bring the specialized side related functions of the BordersContext into the scope of the functional expression

xl

extension function parameter to bring the specialized side related functions of the BordersContext into the scope of the functional expression