Companion

object Companion

Functions

Link copied to clipboard
fun create(fontSize: Float? = null, fontColor: ColorValue? = null, fontWeight: FontWeight? = null, lineHeight: Float? = null, letterSpacing: Float? = null, textTransform: TextTransform? = null): WidgetTextStyle

Utility function to replace primary constructor for view based apps that use the SDK provided ColorValue and FontWeight instead of the Compose Color and FontWeight.