Function iced::widget::button

pub fn button<'a, Message, Renderer>(
    content: impl Into<Element<'a, Message, Renderer>>
) -> Button<'a, Message, Renderer>where
    Renderer: Renderer,
    <Renderer as Renderer>::Theme: StyleSheet,
    <<Renderer as Renderer>::Theme as StyleSheet>::Style: Default,
Expand description

Creates a new Button with the provided content.