pub fn draw<'a, Message>(
renderer: &mut Renderer,
theme: &Theme,
layout: Layout<'_>,
text_layout: Layout<'_>,
cursor_position: Cursor,
tree: &Tree,
value: &Value,
placeholder: &str,
size: Option<f32>,
font: Option<<Renderer as Renderer>::Font>,
is_disabled: bool,
is_secure: bool,
icon: Option<&Element<'a, Message, Theme, Renderer>>,
trailing_icon: Option<&Element<'a, Message, Theme, Renderer>>,
style: &<Theme as StyleSheet>::Style,
dnd_icon: bool,
line_height: LineHeight,
error: Option<&str>,
label: Option<&str>,
helper_text: Option<&str>,
helper_text_size: f32,
helper_line_height: LineHeight,
viewport: &Rectangle,
renderer_style: &Style,
)
Expand description