Skip to main content

Module toggle_switch

Module toggle_switch 

Source
Expand description

ToggleSwitch — an iOS-style pill-shaped boolean toggle widget.

Renders as a rounded-rectangle (pill) with a sliding white circle inside. The pill is gray when off and blue when on. Supports keyboard activation (Space / Enter) and an optional shared Cell<bool> for two-way binding with external state.

Structs§

ToggleSwitch
An iOS-style boolean toggle.
ToggleSwitchProps
Inspector-visible properties of a ToggleSwitch.