AttributeKey

sealed interface AttributeKey<T>

Interface defining a key for attributes held within RichText. By having a type-safe defaultValue, it clearly defines the fallback value when an attribute is not set.

Inheritors

Properties

Link copied to clipboard
abstract val defaultValue: T
Link copied to clipboard
abstract val name: String