Function iced::widget::progress_bar

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

Creates a new ProgressBar.

It expects:

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