嗨,我在应用程序中使用IntervalProgressBar。我想要更多的水平布局进度条。每个进度条都应该一个接一个地开始。可以使用IntervalProgressBar吗?
下面是代码
direction: IntervalProgressDirection.horizontal,
max: 10,
progress: 5,
intervalSize: 2,
size: Size(600, 10),
highlightColor: Colors.red,
defaultColor: Colors.grey,
intervalColor: Colors.transparent,
intervalHighlightColor: Colors.transparent,
reverse: false,
radius: 0)
在上面的代码中,我必须动态更改max:值。每个条都应作为进度条。如何实施?