⌂
›
Reference
›
ProgressBar
ProgressBar
ProgressBar control. Build it with the progress_bar helper.
Example
progress_bar(
value: "Sample",
color: :blue_600,
bgcolor: :surface_container_high,
expand: true,
on_animation_end: ->(event) {}
)
Properties
bar_height— Bar height.bgcolor— Background color.border_radius— Corner radius.color— Foreground color.semantics_labelsemantics_valuestop_indicator_color— Stop indicator color.stop_indicator_radius— Stop indicator radius.track_gapvalue— The control's current value.year_2023
Plus the common layout and animation properties shared by most controls (expand, visible, disabled, opacity, width, height, align, tooltip, animate_*, …).
Events
on_animation_end— Fired when an animation completes.on_size_change— Fired when the control's size changes.
Reference
- Family:
materials - Widget type:
progressbar - Helper:
progress_bar