Function iced::widget::radio

pub fn radio<Message, Renderer, V>(
    label: impl Into<String>,
    value: V,
    selected: Option<V>,
    on_click: impl FnOnce(V) -> Message
) -> Radio<Message, Renderer>where
    Message: Clone,
    Renderer: Renderer,
    <Renderer as Renderer>::Theme: StyleSheet,
    V: Copy + Eq,
Expand description

Creates a new Radio.