direction
This function sets the flex-direction property for all media devices.
Example call:
direction { row }Parameters
extension function parameter to bring the predefined properties of DirectionValues into the scope of the functional expression
This function sets the flex-direction property for each media device independently.
Example call:
direction(
sm = { column }, // small devices apply better to vertical layouts!
lg = { row }
)
Parameters
extension function parameter to bring the predefined properties of DirectionValues into the scope of the functional expression for small media devices
extension function parameter to bring the predefined properties of DirectionValues into the scope of the functional expression for medium sized media devices
extension function parameter to bring the predefined properties of DirectionValues into the scope of the functional expression for large media devices
extension function parameter to bring the predefined properties of DirectionValues into the scope of the functional expression for extra large media devices