Function iced_native::widget::helpers::button

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

Creates a new Button with the provided content.