pub fn ToggleButton(
checked: bool,
on_checked_change: impl Fn(bool) + 'static,
config: ToggleButtonConfig,
content: impl FnOnce(bool) -> View,
) -> ViewExpand description
M3 Toggle Button - a button that toggles between checked/unchecked states.