PropertyValue

class PropertyValue<T : StylePropertyValue>(name: String, defaultFallback: T? = null, prefix: String? = null) : StyleVariable<T, T> (source)

Represents a StyleVariable of a custom type.

Constructors

Link copied to clipboard
constructor(name: String, defaultFallback: T? = null, prefix: String? = null)

Properties

Link copied to clipboard
override val name: String

Functions

Link copied to clipboard
open override fun value(fallback: T?): T

Query this variable's current value.