zstack

Function zstack 

Source
pub const fn zstack<C: TupleViews>(contents: C) -> ZStack<(C,)>
Expand description

Creates a new ZStack with center alignment and the specified contents.

This is a convenience function that creates a ZStack with Alignment::Center.