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
class FlexboxScope
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
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
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
Constructs a KColumn without requiring a com.facebook.litho.ComponentContext or com.facebook.litho.ResourcesScope.
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
Constructs a KRow without requiring a com.facebook.litho.ComponentContext or com.facebook.litho.ResourcesScope.