lazy_sample

Function lazy_sample 

Source
pub fn lazy_sample(
    children_len: impl IntoVar<usize>,
    direction: impl IntoVar<StackDirection>,
    spacing: impl IntoVar<Length>,
    child_sample: impl IntoUiNode,
) -> UiNode
Expand description

Create a node that estimates the size of stack panel children.

The estimation assumes that all items have the size of child_sample.