UiText

sealed interface UiText(source)

Unresolved text retained by the platform-neutral tree.

Runtime adapters resolve values only at their platform boundary.

Inheritors

Types

Link copied to clipboard
object Companion

Factory methods for retaining text composition.

Link copied to clipboard
class Concatenated(parts: List<UiText>) : UiText

A concatenation whose parts remain individually unresolved.

Link copied to clipboard
data class Literal(val value: String) : UiText

A text value that needs no lookup.

Link copied to clipboard
data class Platform(val payload: PlatformText) : UiText

A typed platform payload retained without interpreting its ownership or namespace.

Link copied to clipboard
class Translated(val key: String, arguments: List<UiTextArgument> = emptyList(), val fallback: TranslationFallback = TranslationFallback.UseKey) : UiText

A translation key with typed arguments and a non-null fallback policy.