Function iced::widget::text_input

pub fn text_input<'a, Message, Renderer>(
    placeholder: &str,
    value: &str,
    on_change: impl Fn(String) -> Message + 'a
) -> TextInput<'a, Message, Renderer>where
    Message: Clone,
    Renderer: Renderer,
    <Renderer as Renderer>::Theme: StyleSheet,
Expand description

Creates a new TextInput.