flutter ui showing grey on release apk code example
Example: flutter gray screen
Gray screen can sometime arise due to missing internet permission
In the AndroidManifest.xml file located at android/app/src/main you need to add this permission inside the manifest tag.
<uses-permission android:name="android.permission.INTERNET"/>