FormStyleConfig

sealed class FormStyleConfig

Describes the configuration settings for the form's style properties.

Inheritors

Types

Link copied to clipboard
Link copied to clipboard
data class TokenReference(val value: String) : FormStyleConfig

A reference to a design token to use to bind the form's style properties to an existing theme.

Link copied to clipboard
data class Value(val value: String) : FormStyleConfig

The value of the style setting.

Functions

Link copied to clipboard

Casts this FormStyleConfig as a TokenReference and retrieves its kotlin.String value. Throws an exception if the FormStyleConfig is not a TokenReference.

Link copied to clipboard

Casts this FormStyleConfig as a TokenReference and retrieves its kotlin.String value. Returns null if the FormStyleConfig is not a TokenReference.

Link copied to clipboard

Casts this FormStyleConfig as a Value and retrieves its kotlin.String value. Throws an exception if the FormStyleConfig is not a Value.

Link copied to clipboard

Casts this FormStyleConfig as a Value and retrieves its kotlin.String value. Returns null if the FormStyleConfig is not a Value.