Function cosmic::widget::dropdown::overlay

source ยท
pub fn overlay<'a, S: AsRef<str>, Message: 'a>(
    layout: Layout<'_>,
    _renderer: &Renderer,
    state: &'a mut State,
    gap: f32,
    padding: Padding,
    text_size: f32,
    _text_line_height: LineHeight,
    _font: Option<Font>,
    selections: &'a [S],
    icons: &'a [Handle],
    selected_option: Option<usize>,
    on_selected: &'a dyn Fn(usize) -> Message,
    translation: Vector,
) -> Option<Element<'a, Message, Theme, Renderer>>
Expand description

Returns the current overlay of a Dropdown.