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