Note: This package requires the Flutter master channel and will become available on beta and stable in the coming weeks
Error message:
Because every version of flutter_test from sdk depends on material_color_utilities 0.1.3 and dynamic_test_vin depends on material_color_utilities ^0.1.4, flutter_test from sdk is forbidden. So, because dynamic_test_vin depends on flutter_test from sdk, version solving failed. pub finished with exit code 1
Please provide flutter doctor -v
Use the right dynamic color version. dynamic_color: # When depending on this package from a real application you should use: # dynamic_color: ^x.y.z # See https://dart.dev/tools/pub/dependencies#version-constraints # The example app is bundled with the plugin so we use a path dependency on # the parent directory to use the current plugin's version. # path: ../
I have the same problem
[✓] Flutter (Channel stable, 2.10.2, on Ubuntu 21.10 5.15.17-051517-generic, locale ru_RU.UTF-8)
• Flutter version 2.10.2 at /home/leonid/.asdf/installs/flutter/2.10.2-stable
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 097d3313d8 (7 days ago), 2022-02-18 19:33:08 -0600
• Engine revision a83ed0e5e3
• Dart version 2.16.1
• DevTools version 2.9.2
This is WAI. As indicated by the error message, versions 1.0.0 and greater required the 0.1.4 utilities, which are included in the Flutter framework. A few options:
flutter channel master- wait for the next Flutter beta release, and
flutter channel beta - wait for the next Flutter stable release
- depend on
dynamic_color: 0.1.0
I recommend 2. or 3.
@guidezpl Thanks! Everything works on flutter channel master
Now available with the stable release, closing :)