FlexParams

@ExperimentalCoroutinesApi
interface FlexParams : BasicParams, Flexbox

interface combining flex-style-parameters with the basic style-parameters

Functions

Link copied to clipboard
open fun active(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun after(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun alignContent(value: AlignContentValues.() -> AlignContentProperty)

This function sets the align-content property

open fun alignContent(    sm: AlignContentValues.() -> AlignContentProperty? = null,     md: AlignContentValues.() -> AlignContentProperty? = null,     lg: AlignContentValues.() -> AlignContentProperty? = null,     xl: AlignContentValues.() -> AlignContentProperty? = null)

This function sets the align-content property for each media device independently.

Link copied to clipboard
open fun alignItems(value: AlignItemsValues.() -> AlignItemsProperty)

This function sets the align-items property

open fun alignItems(    sm: AlignItemsValues.() -> AlignItemsProperty? = null,     md: AlignItemsValues.() -> AlignItemsProperty? = null,     lg: AlignItemsValues.() -> AlignItemsProperty? = null,     xl: AlignItemsValues.() -> AlignItemsProperty? = null)

This function sets the align-items property for each media device independently.

Link copied to clipboard
open fun anyLink(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun background(value: BackgroundContext.() -> Unit)

This function opens the context for defining the background related properties for all media devices.

open fun background(    sm: BackgroundContext.() -> Unit? = null,     md: BackgroundContext.() -> Unit? = null,     lg: BackgroundContext.() -> Unit? = null,     xl: BackgroundContext.() -> Unit? = null)

This function opens the context for defining the background related properties for each media device independently.

Link copied to clipboard
open fun before(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun blank(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun border(value: BorderContext.() -> Unit)

This function opens the context for defining the border related properties for all media devices.

open fun border(    sm: BorderContext.() -> Unit? = null,     md: BorderContext.() -> Unit? = null,     lg: BorderContext.() -> Unit? = null,     xl: BorderContext.() -> Unit? = null)

This function opens the context for defining the border related properties for each media device independently.

Link copied to clipboard
open fun borders(value: BordersContext.() -> Unit)

This function opens the intermediate context for defining the border related properties independently for each side for all media devices.

open fun borders(    sm: BordersContext.() -> Unit? = null,     md: BordersContext.() -> Unit? = null,     lg: BordersContext.() -> Unit? = null,     xl: BordersContext.() -> Unit? = null)

This function opens the intermediate context for defining the border related properties independently for each side and for each media device.

Link copied to clipboard
open fun boxShadow(value: Shadows.() -> Property)

This function sets the box-shadow property.

open fun boxShadow(    sm: Shadows.() -> Property? = null,     md: Shadows.() -> Property? = null,     lg: Shadows.() -> Property? = null,     xl: Shadows.() -> Property? = null)

This function sets the box-shadow property for each media device independently.

Link copied to clipboard
open fun checked(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun children(selector: String, content: BasicParams.() -> Unit)
Link copied to clipboard
open fun color(value: Colors.() -> ColorProperty)

This function sets the color property for all media devices.

open fun color(    sm: Colors.() -> ColorProperty? = null,     md: Colors.() -> ColorProperty? = null,     lg: Colors.() -> ColorProperty? = null,     xl: Colors.() -> ColorProperty? = null)

This function sets the color property for each media device independently.

Link copied to clipboard
open fun css(value: Property): StringBuilder

This function passes raw CSS code into the underlying model without modification by fritz2 for all media devices at once.

open fun css(    sm: Property? = null,     md: Property? = null,     lg: Property? = null,     xl: Property? = null)

This function passes raw CSS code into the underlying model without modification by fritz2 for each media device independently.

Link copied to clipboard
open fun current(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun default(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun dir(param: Property, content: BasicParams.() -> Unit)
Link copied to clipboard
open fun direction(value: DirectionValues.() -> DirectionProperty)

This function sets the flex-direction property for all media devices.

open fun direction(    sm: DirectionValues.() -> DirectionProperty? = null,     md: DirectionValues.() -> DirectionProperty? = null,     lg: DirectionValues.() -> DirectionProperty? = null,     xl: DirectionValues.() -> DirectionProperty? = null)

This function sets the flex-direction property for each media device independently.

Link copied to clipboard
open fun disabled(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun display(value: DisplayValues.() -> DisplayProperty)

This function sets the display property of a component for all media devices.

open fun display(    sm: DisplayValues.() -> DisplayProperty? = null,     md: DisplayValues.() -> DisplayProperty? = null,     lg: DisplayValues.() -> DisplayProperty? = null,     xl: DisplayValues.() -> DisplayProperty? = null)

This function sets the display property of a component for each media device independently.

Link copied to clipboard
open fun empty(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun enabled(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun first(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun firstChild(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun firstLetter(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun firstLine(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun firstOfType(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun flex(value: FlexItemContext.() -> Unit)
open fun flex(    sm: FlexItemContext.() -> Unit? = null,     md: FlexItemContext.() -> Unit? = null,     lg: FlexItemContext.() -> Unit? = null,     xl: FlexItemContext.() -> Unit? = null)

This function opens the context for defining the flex layout related properties for a flex layout child component for all media devices.

Link copied to clipboard
open fun focus(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun focusVisible(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun focusWithin(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun fontFamily(value: FontFamilies.() -> Property)

This function sets the font-family property.

open fun fontFamily(    sm: FontFamilies.() -> Property? = null,     md: FontFamilies.() -> Property? = null,     lg: FontFamilies.() -> Property? = null,     xl: FontFamilies.() -> Property? = null)

This function sets the font-family property for each media device independently.

Link copied to clipboard
open fun fontSize(value: ScaledValueProperty)

This function sets the font-size property

open fun fontSize(    sm: ScaledValueProperty? = null,     md: ScaledValueProperty? = null,     lg: ScaledValueProperty? = null,     xl: ScaledValueProperty? = null)

This function sets the font-size property for each media device independently.

Link copied to clipboard
open fun fontStyle(value: FontStyles.() -> FontStyleProperty)

This function sets the font-style property

open fun fontStyle(    sm: FontStyles.() -> FontStyleProperty? = null,     md: FontStyles.() -> FontStyleProperty? = null,     lg: FontStyles.() -> FontStyleProperty? = null,     xl: FontStyles.() -> FontStyleProperty? = null)

This function sets the font-style property for each media device independently.

Link copied to clipboard
open fun fontWeight(value: FontWeights.() -> FontWeightProperty)

This function sets the font-weight property

open fun fontWeight(    sm: FontWeights.() -> FontWeightProperty? = null,     md: FontWeights.() -> FontWeightProperty? = null,     lg: FontWeights.() -> FontWeightProperty? = null,     xl: FontWeights.() -> FontWeightProperty? = null)

This function sets the font-weight property for each media device independently.

Link copied to clipboard
open fun fullscreen(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun future(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun grammarError(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun grid(value: GridContext.() -> Unit)

This function opens the context for defining the grid layout related properties for a grid layout child component for all media devices.

open fun grid(    sm: GridContext.() -> Unit? = null,     md: GridContext.() -> Unit? = null,     lg: GridContext.() -> Unit? = null,     xl: GridContext.() -> Unit? = null)

This function opens the context for defining the grid layout related properties for a grid layout child component for each media device independently.

Link copied to clipboard
open fun height(value: SizesProperty)

This function sets the height property of a component for all media devices.

open fun height(    sm: SizesProperty? = null,     md: SizesProperty? = null,     lg: SizesProperty? = null,     xl: SizesProperty? = null)

This function sets the height property of a component for each media device independently.

Link copied to clipboard
open fun hover(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun indeterminate(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun inRange(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun invalid(content: BasicParams.() -> Unit)
Link copied to clipboard
open operator override fun Style<BasicParams>.invoke()
open operator fun Style<FlexParams>.invoke()

allows the usage of predefined styles in this context

Link copied to clipboard
open fun justifyContent(value: JustifyContentValues.() -> JustifyContentProperty)

This function sets the justify-content property

open fun justifyContent(    sm: JustifyContentValues.() -> JustifyContentProperty? = null,     md: JustifyContentValues.() -> JustifyContentProperty? = null,     lg: JustifyContentValues.() -> JustifyContentProperty? = null,     xl: JustifyContentValues.() -> JustifyContentProperty? = null)

This function sets the justify-content property for each media device independently.

Link copied to clipboard
open fun lang(param: Property, content: BasicParams.() -> Unit)
Link copied to clipboard
open fun lastChild(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun lastOfType(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun left(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun letterSpacing(value: ScaledValueProperty)

This function sets the letter-spacing property

open fun letterSpacing(    sm: ScaledValueProperty? = null,     md: ScaledValueProperty? = null,     lg: ScaledValueProperty? = null,     xl: ScaledValueProperty? = null)

This function sets the letter-spacing property for each media device independently.

Link copied to clipboard
open fun lineHeight(value: ScaledValueProperty)

This function sets the line-height property

open fun lineHeight(    sm: ScaledValueProperty? = null,     md: ScaledValueProperty? = null,     lg: ScaledValueProperty? = null,     xl: ScaledValueProperty? = null)

This function sets the line-height property for each media device independently.

Link copied to clipboard
open fun link(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun localLink(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun margin(value: ScaledValueProperty)

This function sets the margin property.

open fun margin(    sm: ScaledValueProperty? = null,     md: ScaledValueProperty? = null,     lg: ScaledValueProperty? = null,     xl: ScaledValueProperty? = null)

This function sets the margin property for each media device independently.

Link copied to clipboard
open fun margins(value: SpacesContext.() -> Unit)

This function opens the context for defining the margin related properties.

open fun margins(    sm: SpacesContext.() -> Unit? = null,     md: SpacesContext.() -> Unit? = null,     lg: SpacesContext.() -> Unit? = null,     xl: SpacesContext.() -> Unit? = null)

This function opens the context for defining the margin related properties for each media device independently.

Link copied to clipboard
open fun marker(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun maxHeight(value: SizesProperty)
open fun maxHeight(    sm: SizesProperty? = null,     md: SizesProperty? = null,     lg: SizesProperty? = null,     xl: SizesProperty? = null)

This function sets the max-height property of a component for all media devices.

Link copied to clipboard
open fun maxWidth(value: SizesProperty)
open fun maxWidth(    sm: SizesProperty? = null,     md: SizesProperty? = null,     lg: SizesProperty? = null,     xl: SizesProperty? = null)

This function sets the max-width property of a component for all media devices.

Link copied to clipboard
open fun minHeight(value: SizesProperty)
open fun minHeight(    sm: SizesProperty? = null,     md: SizesProperty? = null,     lg: SizesProperty? = null,     xl: SizesProperty? = null)

This function sets the min-height property of a component for all media devices.

Link copied to clipboard
open fun minWidth(value: SizesProperty)
open fun minWidth(    sm: SizesProperty? = null,     md: SizesProperty? = null,     lg: SizesProperty? = null,     xl: SizesProperty? = null)

This function sets the min-width property of a component for all media devices.

Link copied to clipboard
open fun not(param: Property, content: BasicParams.() -> Unit)
Link copied to clipboard
open fun nthChild(param: Property, content: BasicParams.() -> Unit)
Link copied to clipboard
open fun nthLastChild(param: Property, content: BasicParams.() -> Unit)
Link copied to clipboard
open fun nthLastOfType(param: Property, content: BasicParams.() -> Unit)
Link copied to clipboard
open fun nthOfType(param: Property, content: BasicParams.() -> Unit)
Link copied to clipboard
open fun onlyChild(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun onlyOfType(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun opacity(value: WeightedValueProperty)

This function sets the opacity property for all media devices.

open fun opacity(    sm: WeightedValueProperty? = null,     md: WeightedValueProperty? = null,     lg: WeightedValueProperty? = null,     xl: WeightedValueProperty? = null)

This function sets the opacity property for each media device independently.

Link copied to clipboard
open fun optional(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun outOfRange(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun overflow(value: OverflowValues.() -> OverflowProperty)

This function sets the overflow property of a component for all media devices.

open fun overflow(    sm: OverflowValues.() -> OverflowProperty? = null,     md: OverflowValues.() -> OverflowProperty? = null,     lg: OverflowValues.() -> OverflowProperty? = null,     xl: OverflowValues.() -> OverflowProperty? = null)

This function sets the overflow property of a component for each media device independently.

Link copied to clipboard
open fun overflowX(value: OverflowXValues.() -> OverflowProperty)
open fun overflowX(    sm: OverflowXValues.() -> OverflowProperty? = null,     md: OverflowXValues.() -> OverflowProperty? = null,     lg: OverflowXValues.() -> OverflowProperty? = null,     xl: OverflowXValues.() -> OverflowProperty? = null)

This function sets the overflow-x property of a component for all media devices.

Link copied to clipboard
open fun overflowY(value: OverflowYValues.() -> OverflowProperty)
open fun overflowY(    sm: OverflowYValues.() -> OverflowProperty? = null,     md: OverflowYValues.() -> OverflowProperty? = null,     lg: OverflowYValues.() -> OverflowProperty? = null,     xl: OverflowYValues.() -> OverflowProperty? = null)

This function sets the overflow-y property of a component for all media devices.

Link copied to clipboard
open fun padding(value: ScaledValueProperty)

This function sets the padding property

open fun padding(    sm: ScaledValueProperty? = null,     md: ScaledValueProperty? = null,     lg: ScaledValueProperty? = null,     xl: ScaledValueProperty? = null)

This function sets the padding property for each media device independently.

Link copied to clipboard
open fun paddings(value: SpacesContext.() -> Unit)

This function opens the context for defining the padding related properties.

open fun paddings(    sm: SpacesContext.() -> Unit? = null,     md: SpacesContext.() -> Unit? = null,     lg: SpacesContext.() -> Unit? = null,     xl: SpacesContext.() -> Unit? = null)

This function opens the context for defining the padding related properties for each media device independently.

Link copied to clipboard
open fun position(value: PositionContext.() -> Unit)

This function sets the position CSS property of an element for all media devices at once.

open fun position(    sm: PositionContext.() -> Unit? = null,     md: PositionContext.() -> Unit? = null,     lg: PositionContext.() -> Unit? = null,     xl: PositionContext.() -> Unit? = null)

This function sets the position CSS property of an element for each media device independently.

Link copied to clipboard
open fun radii(value: RadiiContext.() -> Unit)

This function opens the context for defining the radius related properties for each corner independently for all media devices.

open fun radii(    sm: RadiiContext.() -> Unit? = null,     md: RadiiContext.() -> Unit? = null,     lg: RadiiContext.() -> Unit? = null,     xl: RadiiContext.() -> Unit? = null)

This function opens the context for defining the radius related properties for each corner and for each media device independently

Link copied to clipboard
open fun radius(value: ScaledValueProperty)

This function sets the radius property for all media devices.

open fun radius(    sm: ScaledValueProperty? = null,     md: ScaledValueProperty? = null,     lg: ScaledValueProperty? = null,     xl: ScaledValueProperty? = null)

This function sets the radius property for each media device independently.

Link copied to clipboard
open fun readOnly(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun readWrite(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun required(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun right(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun root(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun scope(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun selection(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun size(value: SizesProperty)
open fun size(    sm: SizesProperty? = null,     md: SizesProperty? = null,     lg: SizesProperty? = null,     xl: SizesProperty? = null)

This convenience function sets the width and height of a component at once for all media devices.

Link copied to clipboard
open fun spellingError(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun target(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun textAlign(value: TextAligns.() -> TextAlignProperty)

This function sets the text-align property

open fun textAlign(    sm: TextAligns.() -> TextAlignProperty? = null,     md: TextAligns.() -> TextAlignProperty? = null,     lg: TextAligns.() -> TextAlignProperty? = null,     xl: TextAligns.() -> TextAlignProperty? = null)

This function sets the text-align property for each media device independently.

Link copied to clipboard
open fun textDecoration(value: TextDecorations.() -> TextDecorationProperty)

This function sets the text-decoration property

open fun textDecoration(    sm: TextDecorations.() -> TextDecorationProperty? = null,     md: TextDecorations.() -> TextDecorationProperty? = null,     lg: TextDecorations.() -> TextDecorationProperty? = null,     xl: TextDecorations.() -> TextDecorationProperty? = null)

This function sets the text-decoration property for each media device independently.

Link copied to clipboard
open fun textShadow(value: Shadows.() -> Property)

This function sets the text-shadow property.

open fun textShadow(    sm: Shadows.() -> Property? = null,     md: Shadows.() -> Property? = null,     lg: Shadows.() -> Property? = null,     xl: Shadows.() -> Property? = null)

This function sets the text-shadow property for each media device independently.

Link copied to clipboard
open fun textTransform(value: TextTransforms.() -> TextTransformProperty)

This function sets the text-transform property

open fun textTransform(    sm: TextTransforms.() -> TextTransformProperty? = null,     md: TextTransforms.() -> TextTransformProperty? = null,     lg: TextTransforms.() -> TextTransformProperty? = null,     xl: TextTransforms.() -> TextTransformProperty? = null)

This function sets the text-transform property for each media device independently.

Link copied to clipboard
open fun valid(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun verticalAlign(value: VerticalAlignValues.() -> VerticalAlignProperty)

This function sets the vertical-align property of a component for all media devices.

open fun verticalAlign(    sm: VerticalAlignValues.() -> VerticalAlignProperty? = null,     md: VerticalAlignValues.() -> VerticalAlignProperty? = null,     lg: VerticalAlignValues.() -> VerticalAlignProperty? = null,     xl: VerticalAlignValues.() -> VerticalAlignProperty? = null)

This function sets the vertical-align property of a component for each media device independently.

Link copied to clipboard
open fun visited(content: BasicParams.() -> Unit)
Link copied to clipboard
open fun width(value: SizesProperty)

This function sets the width property of a component for all media devices.

open fun width(    sm: SizesProperty? = null,     md: SizesProperty? = null,     lg: SizesProperty? = null,     xl: SizesProperty? = null)

This function sets the width property of a component for each media device independently.

Link copied to clipboard
open fun wrap(value: WrapValues.() -> WrapProperty)

This function sets the flex-wrap property for all media devices.

open fun wrap(    sm: WrapValues.() -> WrapProperty? = null,     md: WrapValues.() -> WrapProperty? = null,     lg: WrapValues.() -> WrapProperty? = null,     xl: WrapValues.() -> WrapProperty? = null)

This function sets the flex-wrap property for each media device independently.

Link copied to clipboard
open fun zIndex(value: ZIndicesProperty)

This function sets the z-index CSS property of an element for all media devices at once.

open fun zIndex(    sm: ZIndicesProperty? = null,     md: ZIndicesProperty? = null,     lg: ZIndicesProperty? = null,     xl: ZIndicesProperty? = null)

This function sets the z-index CSS property of an element for each media device independently.

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