RenderWithConstraints
class RenderWithConstraints(style: Style? = null, render: RenderWithConstraintsScope.(SizeConstraints) -> Component?) : Component
Constructors
Link copied to clipboard
constructor(style: Style? = null, render: RenderWithConstraintsScope.(SizeConstraints) -> Component?)
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
This indicates the type of the Object that will be returned by mount.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Compares this component to a different one to check if they are the same
Link copied to clipboard
Link copied to clipboard
fun measureMightNotCacheInternalNode(c: ComponentContext, widthSpec: Int, heightSpec: Int, outputSize: Size)
Should not be used! Components should be manually measured only as part of a LayoutState calculation. This will measure a component and set the size in the outputSize object but the measurement result will not be cached and reused for future measurements of this component.
Link copied to clipboard
open override fun resolveDeferred(calculationContext: CalculationContext, componentContext: ComponentContext, parentContext: ComponentContext): ComponentResolveResult
Returns the component's resolve result for a deferred resolution. The framework invokes this instead of the resolve if the component needs to defer its resolution until layout.
Link copied to clipboard
fun Component.resolveDeferred(calculationContext: CalculationContext, componentContext: ComponentContext, parentContext: ComponentContext, commonProps: CommonProps?): ComponentResolveResult
Link copied to clipboard
Link copied to clipboard