'Animating specific location on an image

My question is very messed up so i need the professional help to get more information and hints.

I am making a flutter app that has one page, on the middle of that page there will be an image of a building which has windows and i want to add shapes on these windows like ( light on effect(yellow colour), light off(black colour), image, button). enter image description here The positioned widget should be attached to the specific dimensions of the windows so if the user zoomed in the widget will change its size to fit the window. I tried stack with image but it didn't work. Should i create 2D model and use flame to make this work 🤔 Or the flutter does not support this. Waiting for your suggestions please



Sources

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

Source: Stack Overflow

Solution Source