boxed

Function boxed 

Source
pub fn boxed<F>(args: BoxedArgs, scope_config: F)
where F: FnOnce(&mut BoxedScope<'_>),
Expand description

A component that overlays its children on top of each other.

The boxed component acts as a container that stacks all its child components. The size of the container is determined by the dimensions of the largest child, and the alignment of the children within the container can be customized.

Children are added via the scope closure, which provides a BoxedScope to add children declaratively.