Skip to main content

filled_toggle_button

Function filled_toggle_button 

Source
pub fn filled_toggle_button<State: 'static, F: Fn(&mut State, bool) + 'static>(
    checked: bool,
    on_checked_change: F,
) -> ToggleButtonView<State>
Expand description

Create a filled toggle button — toggle_button under the name the reference’s M3EToggleButton.filled constructor uses.