'How to achieve tooth selection feature in Flutter App?

I'm developing a dental app and it requires a tooth selection feature when making appointment. I'm wondering how can I be able to produce this UI in Flutter, where selected tooth will be highlighted in different color. Should I use stack to arrange every tooth one-by-one, or is there a less complex way to achieve it?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source