anish bista
anish bista

Reputation: 1

Because budgets depends on flutter_cupertino_localizations any which doesn't support null safety, version solving failed

Iam using Flutter 3.10.5 I tried cloning project from github but this error is raised while pub get [Resolving dependencies... The current Dart SDK version is 3.0.5.

Because budgets depends on flutter_cupertino_localizations any which doesn't support null safety, version solving failed.

The lower bound of "sdk: '>=2.0.0-dev.68.0 <3.0.0'" must be 2.12.0 or higher to enable null safety.](https://i.sstatic.net/LHSIJ.png)

i tried adding --no-sound-null-safety also but nothing works. If anyone can help me i'll be grateful

Upvotes: 0

Views: 705

Answers (1)

Oreofe Solarin
Oreofe Solarin

Reputation: 355

You're on a version of Dart that is fully null safe, therefore all your packages/dependencies have to support null safety. flutter_cupertino_localizations is not null safe. I'll suggest looking for an alternative for that package which is null-safe.

Upvotes: 0

Related Questions