checked

Function checked 

Source
pub fn checked(child: impl IntoUiNode, checked: impl IntoVar<bool>) -> UiNode
Expand description

P Toggle cycles between true and false, updating the variable.

Note that you can read the checked state of the widget using is_checked.