Package-level declarations

Types

Link copied to clipboard
@Serializable
sealed interface AutoSizeSchema

SimpleText.autoSize — automatic font-size scaling to fit the available space, converted to Compose's TextAutoSize via AutoSizeSchema.toTextAutoSize(). StepBased is the only variant today, mirroring Compose's own TextAutoSize.StepBased.

Link copied to clipboard
@Serializable
enum FontFamilySchema : Enum<FontFamilySchema>

SimpleText.fontFamily — converted to Compose's FontFamily via FontFamilySchema.toFontFamily(), one of the 5 generic families Compose ships (no custom/bundled font support at the schema level).

Link copied to clipboard
@Serializable
enum FontStyleSchema : Enum<FontStyleSchema>

SimpleText.fontStyle — converted to Compose's FontStyle via FontStyleSchema.toFontStyle().

Link copied to clipboard
@Serializable
enum FontWeightSchema : Enum<FontWeightSchema>

SimpleText.fontWeight — converted to Compose's FontWeight via FontWeightSchema.toFontWeight(), mirroring Compose's own 9-step weight scale.

Link copied to clipboard
@Serializable
enum TextAlignSchema : Enum<TextAlignSchema>

SimpleText.textAlign — converted to Compose's TextAlign via TextAlignSchema.toTextAlign(). LEFT/RIGHT are absolute (ignore layout direction); START/ END follow the current LayoutDirection.

Link copied to clipboard

SimpleText.textDecoration — converted to Compose's TextDecoration via TextDecorationSchema.toTextDecoration().

Link copied to clipboard

SimpleText.overflow — how overflowing text is handled when it exceeds maxLines, converted to Compose's TextOverflow via TextOverflowSchema.toTextOverflow().