textTransform

open fun textTransform(value: TextTransforms.() -> TextTransformProperty)

This function sets the text-transform property

Example call:

textTransform { capitalize }

Parameters

value

extension function parameter for small media devices, recommended to use predefined values from TextTransforms

open fun textTransform(sm: TextTransforms.() -> TextTransformProperty? = null, md: TextTransforms.() -> TextTransformProperty? = null, lg: TextTransforms.() -> TextTransformProperty? = null, xl: TextTransforms.() -> TextTransformProperty? = null)

This function sets the text-transform property for each media device independently.

Example call:

textTransform(
sm = { capitalize },
lg = { uppercase }
)

Parameters

lg

extension function parameter for large media devices, recommended to use predefined values via TextTransforms

md

extension function parameter for medium sized media devices, recommended to use predefined values via TextTransforms

sm

extension function parameter for small media devices, recommended to use predefined values from TextTransforms

xl

extension function parameter for extra large media devices, recommended to use predefined values via TextTransforms