Responsive Value
class ResponsiveValue(sm: Property, md: Property, lg: Property, xl: Property)
Content copied to clipboard
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
lg
value for large screens (and default for all the others)
md
value for middle screens like tablets (and default for all the others)
sm
value for small screens like phones (and default for all the others)
xl
value for extra large screens (and default for all the others)
Constructors
ResponsiveValue
Link copied to clipboard
fun ResponsiveValue(sm: Property, md: Property = sm, lg: Property = md, xl: Property = lg)
Content copied to clipboard
value for small screens like phones (and default for all the others)