FlexItemLayoutPropsWriter

class FlexItemLayoutPropsWriter(builder: FlexItemStyle.Builder, isContainer: Boolean, isLTR: Boolean, positionType: PositionType? = PositionType.RELATIVE) : LayoutProps

This class is responsible for writing FlexLayout properties to the FlexItemStyle.Builder.

Constructors

Link copied to clipboard
constructor(builder: FlexItemStyle.Builder, isContainer: Boolean, isLTR: Boolean, positionType: PositionType? = PositionType.RELATIVE)

Functions

Link copied to clipboard
open override fun alignSelf(alignSelf: YogaAlign)
Link copied to clipboard
open override fun aspectRatio(aspectRatio: Float)
Link copied to clipboard
open override fun flex(flex: Float)
Link copied to clipboard
open override fun flexBasisPercent(percent: Float)
Link copied to clipboard
open override fun flexBasisPx(flexBasis: Int)
Link copied to clipboard
open override fun flexGrow(flexGrow: Float)
Link copied to clipboard
open override fun flexShrink(flexShrink: Float)
Link copied to clipboard
open override fun gap(gutter: YogaGutter, length: Int)
Link copied to clipboard
open override fun heightPercent(percent: Float)
Link copied to clipboard
open override fun heightPx(height: Int)
Link copied to clipboard
open override fun isReferenceBaseline(isReferenceBaseline: Boolean)
Link copied to clipboard
open override fun layoutDirection(direction: LayoutDirection)
Link copied to clipboard
open override fun marginAuto(edge: YogaEdge)
Link copied to clipboard
open override fun marginPercent(edge: YogaEdge, percent: Float)
Link copied to clipboard
open override fun marginPx(edge: YogaEdge, margin: Int)
Link copied to clipboard
open override fun maxHeightPercent(percent: Float)
Link copied to clipboard
open override fun maxHeightPx(maxHeight: Int)
Link copied to clipboard
open override fun maxWidthPercent(percent: Float)
Link copied to clipboard
open override fun maxWidthPx(maxWidth: Int)
Link copied to clipboard
open override fun minHeightPercent(percent: Float)
Link copied to clipboard
open override fun minHeightPx(minHeight: Int)
Link copied to clipboard
open override fun minWidthPercent(percent: Float)
Link copied to clipboard
open override fun minWidthPx(minWidth: Int)
Link copied to clipboard
open override fun paddingPercent(edge: YogaEdge, percent: Float)
Link copied to clipboard
open override fun paddingPx(edge: YogaEdge, padding: Int)
Link copied to clipboard
open override fun positionPercent(yogaEdge: YogaEdge, percent: Float)
Link copied to clipboard
open override fun positionPx(yogaEdge: YogaEdge, position: Int)
Link copied to clipboard
open override fun positionType(positionType: YogaPositionType)
Link copied to clipboard
open override fun setBorderWidth(edge: YogaEdge, borderWidth: Float)

Used by DebugLayoutNodeEditor

Link copied to clipboard
open override fun useHeightAsBaseline(useHeightAsBaseline: Boolean)
Link copied to clipboard
open override fun widthPercent(percent: Float)
Link copied to clipboard
open override fun widthPx(width: Int)