Skip to main content
The Stac CircularProgressIndicator allows you to build a Flutter CircularProgressIndicator widget using JSON. To know more about the CircularProgressIndicator 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.
strokeWidthdoubleThe width of the progress indicator.
strokeAligndoubleThe relative position of the stroke on progress indicator.
semanticsLabelStringProvides a textual description of the widget.
semanticsValueStringProvides a textual description of the widget.
strokeCapStacStrokeCapThe progress indicator’s line ending.

Example

StacCircularProgressIndicator(
  color: '#541204',
  strokeWidth: 6,
  backgroundColor: StacColors.amber,
  strokeCap: StacStrokeCap.round,
)