Skip to main content
The Stac LinearProgressIndicator allows you to build a Flutter LinearProgressIndicator widget using JSON. To know more about the LinearProgressIndicator widget in Flutter, refer to the official documentation.

Properties

PropertyTypeDescription
valuedoubleThe progress of this progress indicator.
backgroundColorStacColorThe hex color of the track being filled by the progress indicator.
colorStacColorThe hex color of the progress indicator.
minHeightdoubleThe height of the progress indicator.
semanticsLabelStringProvides a textual description of the widget.
semanticsValueStringProvides a textual description of the widget.
borderRadiusStacBorderRadiusThe border radius for progress indicator.

Example

StacLinearProgressIndicator(
  color: '#541204',
  minHeight: 6,
  backgroundColor: StacColors.amber,
  borderRadius: StacBorderRadius(
    topLeft: 10,
    topRight: 10,
    bottomLeft: 10,
    bottomRight: 10,
  ),
)