Closed Paroca72 closed 10 months ago
Did you update using dart pub upgrade
(or with --major-versions
)? It should prevent updating to incompatible versions. Or did you manually edit the pubspec file?
In any case, looks like this is because objectbox_generator
depends on 0.x.x
versions of http
. But google_fonts
requires 1.0.0
, which also requires Dart 3.0.
We should probably change to allow 1.x.x
versions of http
(but not require as that implicitly requires Dart 3).
Until we ship a compatible update you can add a dependency override:
dependency_overrides:
http: '1.0.0'
The next release will allow v1 versions of http
.
After trying to update to Google Font 5.1.0 I got this error.
Thanks