flutter-packages icon indicating copy to clipboard operation
flutter-packages copied to clipboard

Note: This package requires the Flutter master channel and will become available on beta and stable in the coming weeks

Open protonmailtp opened this issue 4 years ago • 6 comments

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

protonmailtp avatar Feb 12 '22 09:02 protonmailtp

Please provide flutter doctor -v

guidezpl avatar Feb 14 '22 09:02 guidezpl

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: ../

stevapps0 avatar Feb 17 '22 20:02 stevapps0

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

el-leijona avatar Feb 25 '22 14:02 el-leijona

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:

  1. flutter channel master
  2. wait for the next Flutter beta release, and flutter channel beta
  3. wait for the next Flutter stable release
  4. depend on dynamic_color: 0.1.0

I recommend 2. or 3.

guidezpl avatar Feb 25 '22 15:02 guidezpl

@guidezpl Thanks! Everything works on flutter channel master

el-leijona avatar Feb 26 '22 11:02 el-leijona

Now available with the stable release, closing :)

guidezpl avatar May 12 '22 04:05 guidezpl