ResponsiveValue

class ResponsiveValue(    val sm: Property,     val md: Property = sm,     val lg: Property = md,     val xl: Property = lg)

Defines a responsive Property that can have different values for different screen sizes. Per default the value for a certain screen size is the same as the value for the next smaller screen size. You can define the concrete screen sizes that apply in the Theme you use.

Parameters

sm

value for small screens like phones (and default for all the others)

md

value for middle screens like tablets (and default for all the others)

lg

value for large screens (and default for all the others)

xl

value for extra large screens (and default for all the others)

Constructors

Link copied to clipboard
fun ResponsiveValue(    sm: Property,     md: Property = sm,     lg: Property = md,     xl: Property = lg)

Properties

Link copied to clipboard
val lg: Property
Link copied to clipboard
val md: Property
Link copied to clipboard
val sm: Property
Link copied to clipboard
val xl: Property