StyleParams

interface StyleParams

Basic interface for all StyleParams-classes

Properties

Link copied to clipboard
abstract val lgProperties: StringBuilder

collects the properties for large screens

Link copied to clipboard
abstract val mdProperties: StringBuilder

collects the properties for middle-sized screens

Link copied to clipboard
abstract val smProperties: StringBuilder

collects the properties for small screens

Link copied to clipboard
abstract val xlProperties: StringBuilder

collects the properties for extra-large screens

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Extensions

Link copied to clipboard
fun StyleParams.property(    key: String,     value: Property,     target: StringBuilder)

sets a property for a given target screen size

fun StyleParams.property(    key: String,     sm: Property? = null,     md: Property? = null,     lg: Property? = null,     xl: Property? = null)

sets a responsive property for

inline fun <T> StyleParams.property(    key: String,     base: T,     value: T.() -> Property,     target: StringBuilder)

sets a property derived from the Theme

fun <T> StyleParams.property(    key: String,     base: T,     sm: T.() -> Property? = null,     md: T.() -> Property? = null,     lg: T.() -> Property? = null,     xl: T.() -> Property? = null)

sets a responsive property derived from the Theme

inline fun <T : PropertyValues> StyleParams.property(base: T, value: T.() -> Property)

sets an enum-based property for small-screens (default)

fun <T : PropertyValues> StyleParams.property(    base: T,     sm: T.() -> Property? = null,     md: T.() -> Property? = null,     lg: T.() -> Property? = null,     xl: T.() -> Property? = null)

sets a responsive enum-based property