Function

TextUnit

Construct a new TextUnit.

TextUnit

Source set: Common
public fun TextUnit(value: Float, type: TextUnitType): TextUnit

Construct a new TextUnit.

Parameters

value of the dimension
type dimension
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: