flutter_android icon indicating copy to clipboard operation
flutter_android copied to clipboard

Dart 3.x dependency error

Open nuno84 opened this issue 2 years ago • 0 comments

Hi, any ideia on how to get this working with Dart 3.x? pubspec: flutter_android: ^0.8.0

C:\FlutterSDK\flutter\bin\flutter.bat --no-color pub get
Resolving dependencies...
The current Dart SDK version is 3.1.0-35.0.dev.

Because geolocation_test depends on flutter_android >=0.1.0 which doesn't support null safety, version solving failed.

The lower bound of "sdk: '>=2.0.0 <3.0.0'" must be 2.12.0 or higher to enable null safety.
For details, see https://dart.dev/null-safety
Process finished with exit code 1

Thank you

nuno84 avatar Apr 26 '23 17:04 nuno84