Skip to main content

CircularProgressIndicator

Mirai circularProgressIndicator allows you to build the Flutter CircularProgressIndicator widget using JSON. To know more about the container widget in Flutter, refer to the official documentation.

Properties​

PropertyTypeDescription
valuedoubleThe progress of this progress indicator.
backgroundColorStringThe hex color of the track being filled by the progress indicator.
colorStringThe 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.
strokeCapStrokeCapThe progress indicator's line ending.

Example JSON​

{
"type": "circularProgressIndicator",
"color": "#541204",
"strokeWidth": 6,
"backgroundColor": "#FFD700",
"strokeCap": "round"
}