Function iced::widget::slider

pub fn slider<'a, T, Message, Renderer>(
    range: RangeInclusive<T>,
    value: T,
    on_change: impl Fn(T) -> Message + 'a
) -> Slider<'a, T, Message, Renderer>where
    T: Copy + From<u8> + PartialOrd<T>,
    Message: Clone,
    Renderer: Renderer,
    <Renderer as Renderer>::Theme: StyleSheet,
Expand description

Creates a new Slider.