pub fn center_y<'a, Message, Theme, Renderer>(
content: impl Into<Element<'a, Message, Theme, Renderer>>,
) -> Container<'a, Message, Theme, Renderer>
Expand description
Creates a new Container
that fills all the available space
vertically and centers its contents inside.
This is equivalent to:
let center_y = container("Vertical Center!").center_y(Fill);