How to make dynamic chart in flutter?

Posted by Jennifer | Updated on

Want to make dynamic chart in flutter? I suggest using Map type instead. If you want to use List, whenever you want to apply any changes into the element of the data, you need to search through it and find the right element. But with Map type, you can just store the key and use it later.

Check out the corrected code and let me know if you have any question about it:

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@] Your question and answer will appear on and help other developers.

Related Questions & Answers