To fix this problem all you need to do is to use "exactly" Flutter version 3.10.0 since they built this source over on Flutter version 3.10.0. And all you need to do is download Flutter ver 3.10. stable and add it to the root drive on a folder that you can call scr if you already have it made just rename the flutter folder when extracted and add the version number for you to know what version it is. just like in the image:
Then go to Android Studio and look for Flutter ver 3.10.0 like in this image. Follow the steps to get Flutter and dart. If you follow the steps it should start working:
I hope this helped.