Package-level declarations

Types

Link copied to clipboard

Sealed base class for flexbox container components (Column/Row) that extends Component directly instead of the legacy SpecGeneratedComponent.

Link copied to clipboard

Marker for the context-free flexbox container DSL (Row and Column in this package). This makes sure that scope-specific functions like FlexboxScope.child can only apply to the closest receiver annotated with FlexboxContainerDsl.

Link copied to clipboard

Receiver for the trailing lambda on Row and Column. Exposes child to add children to the container being built.

Link copied to clipboard
class KColumn(alignContent: YogaAlign? = null, alignItems: YogaAlign? = null, justifyContent: YogaJustify? = null, wrap: YogaWrap? = null, isReversed: Boolean = false, gap: Dimen? = null, mainAxisGap: Dimen? = null, crossAxisGap: Dimen? = null, children: List<Component>? = null, style: Style = Style, customSimpleName: String? = null) : FlexboxContainerComponent

A Component that renders its children in a column, extending Component directly.

Link copied to clipboard
class KRow(alignContent: YogaAlign? = null, alignItems: YogaAlign? = null, justifyContent: YogaJustify? = null, wrap: YogaWrap? = null, isReversed: Boolean = false, gap: Dimen? = null, mainAxisGap: Dimen? = null, crossAxisGap: Dimen? = null, children: List<Component>? = null, style: Style = Style, customSimpleName: String? = null) : FlexboxContainerComponent

A Component that renders its children in a row, extending Component directly.

Functions

Link copied to clipboard
inline fun Column(alignContent: YogaAlign? = null, alignItems: YogaAlign? = null, justifyContent: YogaJustify? = null, wrap: YogaWrap? = null, isReversed: Boolean = false, gap: Dimen? = null, mainAxisGap: Dimen? = null, crossAxisGap: Dimen? = null, style: Style = Style, customSimpleName: String? = null, init: FlexboxScope.() -> Unit = {}): KColumn
Link copied to clipboard
inline fun Row(alignContent: YogaAlign? = null, alignItems: YogaAlign? = null, justifyContent: YogaJustify? = null, wrap: YogaWrap? = null, isReversed: Boolean = false, gap: Dimen? = null, mainAxisGap: Dimen? = null, crossAxisGap: Dimen? = null, style: Style = Style, customSimpleName: String? = null, init: FlexboxScope.() -> Unit = {}): KRow