Picker
Choices each ticked or not, and a last row that names a new one.
Desktop
arkui::picker


Off a menu, a picker is that menu's submenu, pinned beside its entry (layer::pinned); on its own it is centred over a dimmed page (layer::dimmed, layer::centred).
arkui::picker
A list of choices each ticked or not, with an optional last row that names a new one — on its own in the middle, or as a menu's submenu.
Picker::new(title, choices, new_row)Choice { value, name, on }Picker::activate() -> Picked::{Toggled, Naming}Picker::land, rows, grid, width_forview(picker, focused, Messages { at, activate, name, create })focus_naming()MIN_WIDTH, MAX_WIDTH, MAX_HEIGHT
Rules
- A submenu draws no header: the menu it hangs off is still up with the title.
Mobile
Nothing shared for this on Android yet.
Nothing shared for this on iOS yet.