Known direct subclasses
TextStyleStyleScope

An interface that introduces the text property to a Style receiver scope.

Known indirect subclasses
StyleScope

A StyleScope is the receiver scope of a Style lambda.


An interface that introduces the textStyle property to a Style receiver scope.

See also
StyleScope

Summary

Public functions

Unit

Applies a complete TextStyle object to the component.

Cmn

Public functions

textStyle

fun textStyle(value: TextStyle): Unit

Applies a complete TextStyle object to the component. This is a convenient way to set multiple text-related properties at once. Text properties are inherited by child text components unless overridden.

This property is inherited.

Parameters
value: TextStyle

The TextStyle to apply.