Package-level declarations

Types

Link copied to clipboard
value class AlignItems

This attribute controls the alignment along the cross axis.

Link copied to clipboard
value class AlignSelf

This attribute controls the alignment along the cross axis. The alignment in the same direction can be determined by the AlignItems attribute in the parent, but if this is set to other than AlignSelf.Auto, the cross axis alignment is overridden for this child.

Link copied to clipboard
value class Direction
Link copied to clipboard

The direction children items are placed inside the flex container, it determines the direction of the main axis (and the cross axis, perpendicular to the main axis).

Link copied to clipboard

This attribute controls the alignment along the main axis.

Link copied to clipboard
fun interface MeasureCallback
Link copied to clipboard
Link copied to clipboard
class Node
Link copied to clipboard
annotation class RedwoodYogaApi

Denote an API which should only be used by Redwood implementation details and is not considered stable across any version.

Link copied to clipboard
class Size(val width: Float, val height: Float)

Properties

Link copied to clipboard

Returns true if this direction's main axis is horizontal.

Link copied to clipboard

Returns true if this direction's main axis is vertical.