aloisdeniel / flutter_device_preview

Approximate how your app looks and performs on another device.
https://aloisdeniel.github.io/flutter_device_preview/
MIT License
2.21k stars 343 forks source link

Black screen with random characters in red at the bottom left. #249

Open PranayCelllabs opened 5 months ago

PranayCelllabs commented 5 months ago

Hello,

I am facing this weird issue where the whole app(device_preview) screen is breaking down and displaying some random characters in red at the left corner of the screen.

My current version is device_preview: ^1.2.0

I have checked this in two of the apps that I am developing.

It primarily seems to occur when I am using iPhone13 Pro Max as the preview device. I've tried changing a few properties. But, nothing seems to fix it.

Note: The app is working as expected when I remove the DevicePreview() wrapper, so I don't think the app is at fault.

I am using Linux and am testing my code as a linux app.

> flutter doctor
Doctor summary (to see all details, run flutter doctor
-v):
[✓] Flutter (Channel stable, 3.22.1, on Pop!_OS 22.04
    LTS 6.8.0-76060800daily20240311-generic, locale
    en_US.UTF-8)
[✓] Android toolchain - develop for Android devices
    (Android SDK version 34.0.0)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2022.2)
[✓] VS Code (version 1.89.1)
[✓] Connected device (2 available)
[✓] Network resources

• No issues found!

Below is the Screenshot of the issue: image

marsindo-dev commented 5 months ago

i face the same error in Linux Ubuntu 22