pub fn toggle_item(
group_key: &str,
value: impl Display,
label: impl Into<String>,
selected: bool,
) -> ElExpand description
A single item inside a toggle group. Apps usually let
toggle_group / toggle_group_multi build these from
(value, label) pairs; reach for toggle_item directly when
composing the row by hand (e.g. mixing in icons or badges per
option).
group_key is the parent group’s key — the routed key on the item
is {group_key}:toggle:{value} (see toggle_option_key).
selected paints the pressed surface.