pub fn list_item<M>(title: impl IntoText<M>) -> ListItemExpand description
A list row’s standard content: a leading icon, a title, an optional subtitle and trailing detail, and a check mark, drawn the way the platform draws its own list rows (docs/list.md “List items”). UIKit shows it with the cell’s default content configuration, Android as a Material list item, AppKit as a table cell’s image and text, GTK as a row box; elsewhere the piece composes the same parts. Each part may follow a signal, and changes in place, so a recycled row tracks its item.
ⓘ
list(scene.items.rows(keys), move |slot| {
list_item(move || slot.name().read())
.icon(move || slot.kind().read().icon())
.icon_tint(move || slot.tint().read().color())
.checked(move || slot.done().read())
})