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

[DEPENDENCY ISSUES] Please read before posting new issues!! #978

Open
tneotia opened this issue Jan 12, 2022 · 5 comments
Open

[DEPENDENCY ISSUES] Please read before posting new issues!! #978

tneotia opened this issue Jan 12, 2022 · 5 comments
Assignees
Milestone

Comments

@tneotia
Copy link
Collaborator

tneotia commented Jan 12, 2022

If you are having dependency conflicts, please do not create a separate issue. As of January 2022, you have a couple different options to resolve the conflicts.

  1. Upgrade to the latest 3.0.0 package alphas to resolve flutter_svg and webview_flutter
  2. Use dependency_overrides in your pubspec.yaml, for example:

Problem:

Resolving dependencies...
Because <project> depends on flutter_html ^2.2.0 which depends on flutter_svg >=0.22.0 <1.0.0, flutter_svg >=0.22.0 <1.0.0 is required.
So, because <project> depends on flutter_svg ^1.0.0, version solving failed.

Solution:

dependency_overrides: 
  flutter_svg: ^1.0.0

Being such a widely used package, we do not wish to rush to upgrade dependencies to latest. Instead, we test major releases of our dependencies thoroughly to ensure there are no breaking changes or new bugs.

With Modularization complete in v3.0.0, hopefully those who need a simpler HTML experience will no longer need to worry about dependency conflicts. The core package only contains 4 seldom updated dependencies.

@alirezat66
Copy link

^1.0.0

It doesnt work in your new version. please update your dependencies.

@erickok
Copy link
Collaborator

erickok commented May 2, 2022

@alirezat66 Did you read the post at all? The dependencies are updated in 3.0.0-alpha releases or you can force a version of your dependencies.

@LHYLYQ31
Copy link

Why form labels cannot be loaded

@Sub6Resources
Copy link
Owner

@LHYLYQ31 please open a new issue if you aren't seeing expected behavior.

@jamesncl
Copy link

For anyone else who was struggling to figure out what the latest 3.0.0 beta version name is, it's at the top of the pub.dev page:

image

So at the time of writing this comment, to reference the latest in pubspec.yaml, it would be:

flutter_html: ^3.0.0-beta.2

@Sub6Resources Sub6Resources self-assigned this Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

6 participants