pub const fn zstack<C>(contents: C) -> ZStack<(C,)>where
C: TupleViews,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.
pub const fn zstack<C>(contents: C) -> ZStack<(C,)>where
C: TupleViews,Creates a new ZStack with center alignment and the specified contents.
This is a convenience function that creates a ZStack with Alignment::Center.