material-foundation/material-color-utilities

flutter version problem

hancens1024 opened this issue · 0 comments

/Users/hancens/fvm/default/bin/flutter --no-color pub get
Resolving dependencies...
Note: material_color_utilities is pinned to version 0.5.0 by flutter_test from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.

Because every version of flutter_test from sdk depends on material_color_utilities 0.5.0 and mobile depends on material_color_utilities 0.8.0, flutter_test from sdk is forbidden.
So, because mobile depends on flutter_test from sdk, version solving failed.

You can try the following suggestion to make the pubspec resolve:

  • Consider downgrading your constraint on material_color_utilities: flutter pub add material_color_utilities:^0.5.0