Reputation: 93
I am trying to create a chart that displays the data that came from the api that is supposed to be like this image as for the date and the size of the columns, no matter how many data are coming
I have two problems: 1- I don't know Make the widget flexible so that the column always appears the same size 2- I don’t know. Make the date the same as what is needed. It is displayed in the same form in the API how can I fix it
Upvotes: 0
Views: 306
Reputation: 453
For making a widget flexible and appear the same size you can use BoxConstraints by adding Container or SizedBox as parent widget and defining height and width.
Upvotes: 1