Skip to main content

LiquidToggle

Function LiquidToggle 

Source
pub fn LiquidToggle(
    __arg0: Modifier,
    __arg1: bool,
    on_change: impl Fn(bool) + 'static,
)
Expand description

An on/off switch. checked is owned by the caller; on_change receives the requested new value. The thumb both taps and swipes.