Skip to content

Dart 3.x dependency error #16

Open
@nuno84

Description

@nuno84

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions