Last active
June 9, 2019 14:59
-
-
Save stefanJi/22db0db1a7944a95c3b93b7214d146ef to your computer and use it in GitHub Desktop.
interval progress bar usage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Center( | |
child: Row( | |
mainAxisAlignment: MainAxisAlignment.center, | |
children: [10, 29, 18, 27, 16, 15, 24, 3, 20, 10] | |
.map<Widget>((i) { | |
return Padding( | |
padding: EdgeInsets.only(right: 10), | |
child: IntervalProgressBar( | |
direction: IntervalProgressDirection.vertical, | |
max: 30, | |
progress: i, | |
intervalSize: 2, | |
size: Size(12, 200), | |
highlightColor: Colors.red, | |
defaultColor: Colors.grey, | |
intervalColor: Colors.transparent, | |
intervalHighlightColor: Colors.transparent, | |
reverse: true, | |
radius: 0)); | |
}).toList()), | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment