Skip to main content

LinearProgressIndicator

Mirai linearProgressIndicator allows you to build the Flutter LinearProgressIndicator 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.
minHeightdoubleThe height of the progress indicator.
semanticsLabelStringProvides a textual description of the widget.
semanticsValueStringProvides a textual description of the widget.
borderRadiusMiraiBorderRadiusThe border radius for progress indicator.

Example JSON​

{
"type": "linearProgressIndicator",
"color": "#541204",
"minHeight": 6,
"backgroundColor": "#FFD700",
"borderRadius": {
"topLeft": 10,
"topRight": 10,
"bottomLeft": 10,
"bottomRight": 10
}
}