Function cosmic::widget::dropdown::draw

source ยท
pub fn draw<'a, S>(
    renderer: &mut Renderer,
    theme: &Theme,
    layout: Layout<'_>,
    cursor: Cursor,
    gap: f32,
    padding: Padding,
    text_size: Option<f32>,
    text_line_height: LineHeight,
    font: Font,
    selected: Option<&'a S>,
    icon: Option<&'a Handle>,
    state: &'a State,
    viewport: &Rectangle,
)
where S: AsRef<str> + 'a,
Expand description

Draws a Dropdown.