Reputation: 51
How do I go about having multiple progresses in the same progress indicator?
Do I have to create a custom widget or is there a easier way to accomplish this?
Upvotes: 1
Views: 1987
Reputation: 51
In reference to @pskink's comment, the following works.
Stack(
children: [
LinearProgressIndicator(
value: 0,
),
LinearProgressIndicator(
value: 0.75,
backgroundColor: Colors.transparent,
color: Colors.blueAccent,
),
LinearProgressIndicator(
value: 0.5,
backgroundColor: Colors.transparent,
color: Colors.blue,
),
],
);
Upvotes: 3