Function cosmic::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.