Adjust the dependency of vector_math
XeLavend opened this issue · 1 comments
XeLavend commented
Currently syphon has these two dependencies in pubspec.yaml:
dependencies:
...
flutter_localizations:
sdk: flutter
...
vector_math: 2.1.2
...
While flutter_localizations
itself depends on another version of vector_math
, namely 2.1.4:
dependencies:
...
vector_math: 2.1.4
...
(Find more in https://github.com/flutter/flutter/blob/master/packages/flutter_localizations/pubspec.yaml)
As a result, executing flutter pub get
or flutter pub upgrade
alike ends up in:
flutter pub upgrade
Resolving dependencies...
Because syphon depends on flutter_localizations from sdk which depends on vector_math 2.1.4, vector_math 2.1.4 is required.
So, because syphon depends on vector_math 2.1.2, version solving failed.
pub finished with exit code 1
Is it appropriate to update the dependency of vector_math
now?
dnisbetjones commented
Tagging @ereio for attention