on popos-24 libgtk-3-dev is installed, but flutter doesn't detect it
first check with
pkg-config --exists --print-errors 'gtk+-3.0'
in my case libei-1 error Just by installing libei-dev the problem is solved
sudo apt install libei-dev