颤振中的线性进度条

时间:2020-09-01 07:03:31

标签: list flutter progress-bar

嗨,我在应用程序中使用IntervalProgressBar。我想要更多的水平布局进度条。每个进度条都应该一个接一个地开始。可以使用IntervalProgressBar吗?

this is the image

下面是代码

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:值。每个条都应作为进度条。如何实施?

0 个答案:

没有答案