Function iced::widget::progress_bar

pub fn progress_bar<Renderer>(
    range: RangeInclusive<f32>,
    value: f32
) -> ProgressBar<Renderer>where
    Renderer: Renderer,
    <Renderer as Renderer>::Theme: StyleSheet,
Expand description

Creates a new ProgressBar.

It expects:

  • an inclusive range of possible values, and
  • the current value of the ProgressBar.