Linear Progress Bar

The Linear Progress Bar widget indicates the progress of an operation in a horizontal bar. It can be either determinate (showing a specific percentage) or indeterminate (showing a continuous animation).

Properties

Property
Description

type

The type of progress bar: determinate or indeterminate.

progressValue

The progress value for a determinate progress bar (from 0 to 100).

width

The width of the progress bar.

thickness

The thickness of the progress bar.

borderRadius

The corner radius of the progress bar.

indicatorColor

The color of the progress indicator.

bgColor

The background color of the progress bar's track.

animation

If true, the progress change will be animated.

animateFromLastPercent

If true, the animation will start from the last progress value.

isReverse

If true, the progress bar will fill from right to left.


Default Properties

The Linear Progress Bar widget supports the following section of Default Properties:

Layout

  • width

  • height

  • padding

  • margin

  • align

Last updated