Skip to main content

column

Function column 

Source
pub fn column<State: 'static>() -> FlexView<State>
Expand description

An empty vertical flex, ready for fluent children (no any(..) wrapping).

use frust_widgets::{FlexView, column, text};
column()
    .child(text("a"))
    .flex(1, text("b"))
    .when(cond, |c| c.child(text("c")))