I was able to identify that the problem was due to the graphics engine that Flutter has been using for about 2 or 3 versions (Impeller). This has a Vulkan and OpenGL compatibility bug. I was even able to find an issue from the Flutter development team, reporting the error (see https://github.com/flutter/flutter/issues/163269 ). Therefore, we can temporarily, until the bug is resolved, get by with the command:
flutter run --no-enable-impeller
which I found in this https://stackoverflow.com/questions/76970158/flutter-impeller-in-android-emulator.
Thanks to @MorrisonChang for the contribution.
Apparently It was recently solved on Flutter 3.29.0