pub fn tonal_toggle_button<State: 'static, F: Fn(&mut State, bool) + 'static>(
checked: bool,
on_checked_change: F,
) -> ToggleButtonView<State>Expand description
Create a tonal toggle button — M3EToggleButton.tonal.
pub fn tonal_toggle_button<State: 'static, F: Fn(&mut State, bool) + 'static>(
checked: bool,
on_checked_change: F,
) -> ToggleButtonView<State>Create a tonal toggle button — M3EToggleButton.tonal.