selection_list_with

Function selection_list_with 

Source
pub fn selection_list_with<'a, T, Message, Theme, Renderer>(
    options: &'a [T],
    on_selected: impl Fn(usize, T) -> Message + 'static,
    text_size: f32,
    padding: impl Into<Padding>,
    style: impl Fn(&Theme, Status) -> Style + 'a + Clone,
    selected: Option<usize>,
    font: Font,
) -> SelectionList<'a, T, Message, Theme, Renderer>
where Message: 'a + Clone, Renderer: 'a + Renderer + Renderer<Font = Font>, Theme: 'a + Catalog + Catalog + Catalog, T: Clone + Display + Eq + Hash, [T]: ToOwned<Owned = Vec<T>>, <Theme as Catalog>::Class<'a>: From<StyleFn<'a, Theme, Style>>,
Expand description

Shortcut helper to create a SelectionList Widget.