Function row
Source pub fn row<W>(children: impl IntoIterator<Item = W>) -> Row<W>
Expand description
Creates a new Row from an iterator.
Rows distribute their children horizontally.
ยงExample
use iced::widget::{row, text, Widget};
enum Message {
}
fn view(state: &State) -> impl Widget<Message> {
row((0..5).map(|i| text!("Item {i}")))
}