Function iced::widget::progress_bar
source · pub fn progress_bar<'a, Theme>(
range: RangeInclusive<f32>,
value: f32
) -> ProgressBar<'a, Theme>where
Theme: Catalog + 'a,
Expand description
Creates a new ProgressBar
.
It expects:
- an inclusive range of possible values, and
- the current value of the
ProgressBar
.