Interface

TextStyleStyleScope

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

Source set: Common
@Deprecated(
    DeprecatedStyleScope,
    replaceWith = ReplaceWith(""),
    level = DeprecationLevel.WARNING,
)
public interface TextStyleStyleScope :
    TextStyleScope,
    ContentColorScope,
    TextDecorationScope,
    FontFamilyScope,
    TextIndentScope,
    FontSizeScope,
    LineHeightScope,
    LetterSpacingScope,
    BaselineShiftScope,
    FontWeightScope,
    FontStyleScope,
    TextDirectionScope,
    TextAlignScope,
    LineBreakScope,
    HyphensScope,
    TextMotionScope,
    FontSynthesisScope

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

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: