checked_opt

Function checked_opt 

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

P Toggle cycles between Some(true) and Some(false) and accepts None, if the widget is tristate also sets to None in the toggle cycle.