Skip to main content

button_with

Function button_with 

Source
pub fn button_with<E: Serialize>(
    label: impl Into<String>,
    style: ButtonStyle,
    on_press: E,
    opts: ButtonOpts,
) -> Widget
Expand description

A button with a ButtonOpts tone, leading icon, and/or full width.