Skip to main content

elevated_button

Function elevated_button 

Source
pub fn elevated_button<State: 'static, F: Fn(&mut State) + 'static>(
    label: impl Into<String>,
    on_press: F,
) -> ButtonView<State>
Expand description

Create an elevated (medium-emphasis, shadowed) button — M3EButton.elevated.