pub fn Row<F>(__arg0: Modifier, __arg1: RowSpec, __arg2: F) -> NodeIdwhere
F: FnMut() + 'static,Expand description
Places children from left to right, or right to left for an RTL layout.
spec sets horizontal space and vertical alignment.
ยงExample
use cranpose_ui::*;
#[composable]
fn Summary() {
Row(
Modifier::empty().fill_max_width(),
RowSpec::default().horizontal_arrangement(LinearArrangement::SpaceBetween),
|| {
Text("Name", Modifier::empty(), TextStyle::default());
Text("Value", Modifier::empty(), TextStyle::default());
},
);
}