TextStyleScope

Known direct subclasses
TextStyleStyleScope

This interface is deprecated. This scope type is being removed.

Known indirect subclasses
StyleScope

This interface is deprecated. This scope type is being removed.


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

See also
StyleScope

Summary

Public functions

Unit

This function is deprecated. This scope type is being removed.

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.