pub fn resolve<Message, Theme, Renderer>(
axis: Axis,
renderer: &Renderer,
limits: &Limits,
width: Length,
height: Length,
padding: Padding,
spacing: f32,
align_items: Alignment,
items: &[Element<'_, Message, Theme, Renderer>],
trees: &mut [Tree],
) -> Nodewhere
Renderer: Renderer,
Available on crate feature
advanced
only.Expand description
Computes the flex layout with the given axis and limits, applying spacing, padding and alignment to the items as needed.
It returns a new layout Node
.