drydart / flutter_android

Android bindings plugin for Flutter.
https://pub.dev/packages/flutter_android
The Unlicense
131 stars 21 forks source link

Dart 3.x dependency error #16

Open nuno84 opened 1 year ago

nuno84 commented 1 year ago

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