Un cuarto, la mitad, casi:
{
"type": "stack",
"props": {
"spacing": 12
},
"children": [
{
"type": "progress",
"props": {
"value": 0.25
}
},
{
"type": "progress",
"props": {
"value": 0.5
}
},
{
"type": "progress",
"props": {
"value": 0.9
}
}
]
}
sale esto:
Con su etiqueta al lado, como una descarga:
{
"type": "stack",
"props": {
"spacing": 6
},
"children": [
{
"type": "stack",
"props": {
"axis": "horizontal",
"fill_width": true,
"spacing": 8
},
"children": [
{
"type": "text",
"props": {
"color": "text_secondary",
"content": "Obteniendo…",
"style": "caption"
}
},
{
"type": "text",
"props": {
"align": "trailing",
"content": "64%",
"fill_width": true,
"style": "caption",
"tabular": true
}
}
]
},
{
"type": "progress",
"props": {
"value": 0.64
}
}
]
}
sale esto: