Does anyone know if there is a package that creates a Rating Results table like the following image without using a full-blown chart package?
Alternately, how can I create the bar lines as below?
CodePudding user response:
You could create it with just a column, that has 5 rows as its children. Each row has the star count, the star icon, the progress bar and the percentage text as its children. In terms of how to implement the green progress bar with widgets, I would simply stack two Containers onto each other using the Stack widget. Controlling the width of the top Container, you can then control how much of the bar is filled with green. Seems very straightforward to me.