Package-level declarations
Types
Link copied to clipboard
class BoxValue(val modifier: Modifier = Modifier, val width: Constraint = Constraint.Wrap, val height: Constraint = Constraint.Wrap, val margin: Margin = Margin.Zero, val horizontalAlignment: CrossAxisAlignment = CrossAxisAlignment.Start, val verticalAlignment: CrossAxisAlignment = CrossAxisAlignment.Start, val children: List<WidgetValue> = listOf()) : WidgetValue
Link copied to clipboard
class ColumnValue(val modifier: Modifier = Modifier, val width: Constraint = Constraint.Wrap, val height: Constraint = Constraint.Wrap, val margin: Margin = Margin.Zero, val overflow: Overflow = Overflow.Clip, val horizontalAlignment: CrossAxisAlignment = CrossAxisAlignment.Start, val verticalAlignment: MainAxisAlignment = MainAxisAlignment.Start, val onScroll: (offset: Px) -> Unit? = null, val children: List<WidgetValue> = listOf()) : WidgetValue
Link copied to clipboard
Link copied to clipboard
class RowValue(val modifier: Modifier = Modifier, val width: Constraint = Constraint.Wrap, val height: Constraint = Constraint.Wrap, val margin: Margin = Margin.Zero, val overflow: Overflow = Overflow.Clip, val horizontalAlignment: MainAxisAlignment = MainAxisAlignment.Start, val verticalAlignment: CrossAxisAlignment = CrossAxisAlignment.Start, val onScroll: (offset: Px) -> Unit? = null, val children: List<WidgetValue> = listOf()) : WidgetValue
Link copied to clipboard
class SpacerValue(val modifier: Modifier = Modifier, val width: Dp = Dp(0.0), val height: Dp = Dp(0.0)) : WidgetValue
Functions
Link copied to clipboard
suspend fun <R> RedwoodLayoutTester(onBackPressedDispatcher: OnBackPressedDispatcher = NoOpOnBackPressedDispatcher, savedState: TestSavedState? = null, uiConfiguration: UiConfiguration = UiConfiguration(), body: suspend TestRedwoodComposition<List<WidgetValue>>.() -> R): R