Function iced_native::widget::helpers::radio

source ·
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::Theme: StyleSheet,
    V: Copy + Eq,
Expand description

Creates a new Radio.