Class

ProvidableStyleProperty

Defines a style property whose value can be provided within a style scope.

Source set: Common
public open class ProvidableStyleProperty<T>(name: String, local: Boolean, defaultValue: () -> T) :
    StyleProperty<T>(name, local, defaultValue)

Defines a style property whose value can be provided within a style scope.

Parameters

T type of value held by the property
name optional debug name for the property
local whether this property inherits down the layout tree
defaultValue provider for the fallback value when not set

Content updated: