Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.1.1 incompatible with flutter_driver #224

Open
pdtoal opened this issue Feb 3, 2021 · 1 comment
Open

2.1.1 incompatible with flutter_driver #224

pdtoal opened this issue Feb 3, 2021 · 1 comment

Comments

@pdtoal
Copy link

pdtoal commented Feb 3, 2021

Whilst trying to use the latest screenshots flutter plugin, I get:

**Because screenshots >=1.0.0 depends on process ^3.0.9 and every version of flutter_driver from sdk depends on process 4.0.0-nullsafety.4, screenshots >=1.0.0 is incompatible with flutter_driver from sdk.

So, because rootless_practice_app depends on both flutter_driver any from sdk and screenshots ^2.1.1, version solving failed.
pub get failed (1; So, because rootless_practice_app depends on both flutter_driver any from sdk and screenshots ^2.1.1, version solving failed.)**

My dependencies in pubspec.yaml are:

dependencies:
flutter:
sdk: flutter
charcode: ^1.1.2
flutter_midi: ^1.0.1
shared_preferences: ^0.5.6+1
flutter_device_type: ^0.2.0
device_preview: ^0.2.6
auto_size_text: ^2.1.0
#firebase_admob: ^0.9.1+1
intl: ^0.16.1
wakelock: ^0.2.1+1
cupertino_icons: ^0.1.2

dev_dependencies:
flutter_driver:
sdk: flutter
test: any
flutter_test:
sdk: flutter
screenshots: ^2.1.1

How can I use screenshots with the current version of flutter. I'm on Flutter 1.26.0-13.0.pre.54

Thanks

@edwinludik
Copy link

screenshots does not support Nullsafety yet. Its a WIP: Compatibility with Dart 2.10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants