flutter_device_preview icon indicating copy to clipboard operation
flutter_device_preview copied to clipboard

DevicePreview not working

Open thePlayer094 opened this issue 2 years ago • 6 comments

Hello everyone! I'm facing with this issue, while i'm trying to build the application. Képernyőfotó 2022-06-20 - 7 19 07

Is there any idea how can i solve this? Thank you!

thePlayer094 avatar Jun 20 '22 05:06 thePlayer094

I have same issue as above

vishalideastoimpact avatar Jun 21 '22 08:06 vishalideastoimpact

@vishalideastoimpact Do you have any solution?

thePlayer094 avatar Jun 22 '22 06:06 thePlayer094

@thePlayer094 Are you using flutter v3? Maybe you are getting this error because flutter has been upgraded and no longer checks for null in instances such as WidgetsBinding! If you are using Flutter v3, try v2 and build again and see if that fixes it.

Reference URL:https://docs.flutter.dev/development/tools/sdk/release-notes/release-notes-3.0.0

kinako0626-ota avatar Jun 26 '22 07:06 kinako0626-ota

I have the same error. Im using flutter 2.10.5. Any ideas?

mathtasatlime avatar Jul 03 '22 21:07 mathtasatlime

I have the same error with Flutter 2.10.4. I believe that WidgetsBinding null safety need fix.

Matheeusb avatar Jul 14 '22 15:07 Matheeusb

any updates

Shams-Mahmoud avatar Sep 12 '22 08:09 Shams-Mahmoud