Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flex_color_scheme >=7.2.0 depends on flex_seed_scheme ^1.4.0 #233

Open
sgehrman opened this issue May 18, 2024 · 1 comment
Open

flex_color_scheme >=7.2.0 depends on flex_seed_scheme ^1.4.0 #233

sgehrman opened this issue May 18, 2024 · 1 comment

Comments

@sgehrman
Copy link

Because flex_color_scheme >=7.2.0 depends on flex_seed_scheme ^1.4.0 and flex_color_picker >=3.5.0 depends on flex_seed_scheme ^2.0.0, flex_color_scheme >=7.2.0 is incompatible with flex_color_picker >=3.5.0.

@rydmike
Copy link
Owner

rydmike commented May 19, 2024

Hi @sgehrman,

The dependency warning is correct and expected.

I'm guessing you are using flex_color_picker 3.5.0 as a direct dependency to get this error?Which also means you are already using Flutter 3.22, as the picker 3.5.0 requires min Flutter 3.22.0.

For now, pin an older version of the flex_color_picker that does not have this conflict, step down in version until you get one without conflict. First try flex_color_picker 3.5.0, then flex_color_picker 3.4.1 and so on. Pinned means no ^ or >=. You should as you step down find the highest one that works with your combination of flex color picker and flex color scheme.

Since (if) you are using Flutter 3.22, please be aware that flex_color_scheme 7.3.1 and earlier versions are not fully compatible with Flutter 3.22.

https://docs.flexcolorscheme.com/

Screenshot 2024-05-19 at 02 44 26

Pending flex_color_scheme 8.0.0, will fix the dependency conflict and also provide full Flutter 3.22 compatibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants