cosmic::widget

Function toggler

source
pub fn toggler<'a, Message, Theme: Catalog, Renderer>(
    is_checked: bool,
) -> Toggler<'a, Message, Theme, Renderer>
where Renderer: Renderer + Renderer,