Open monkeydaichan opened 2 years ago
Any chance to see it deployed 😅 ?
It would be great to have https://github.com/aloisdeniel/flutter_device_preview/issues/180 as well in one place
For everyone looking for a quick fix, update your pubspec to import like this
# Using a fork with fixes for flutter 3 until they are applied to the package
device_preview:
git:
url: https://github.com/monkeydaichan/flutter_device_preview.git
path: device_preview
Where to add under dependencies or dev_dependencies ?
Where you had it before @Dhinesh-J if you have it in your widget tree in the normal dependencies. (You have to replace your device_preview) from before
device_preview: 1.0.0 is OK
We have made updates for compatibility and released a new package. This is for sharing, not for promotional purposes. We hope it doesn't hinder any discussions.
Package: device_preview_minus
Launching lib/main.dart on Chrome in debug mode... lib/main.dart:1 Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.