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

Provider package dependency error #14

Closed
ValYouW opened this issue Nov 5, 2021 · 4 comments
Closed

Provider package dependency error #14

ValYouW opened this issue Nov 5, 2021 · 4 comments
Assignees

Comments

@ValYouW
Copy link
Contributor

ValYouW commented Nov 5, 2021

Hi,

I just added Provider 6.0 to my app and got an error running "pub get". text_editor is dependent on Provider 5.0 and my app needs Provider 6.0.
I am new to flutter, can this be easily solved? (I am used to node.js dependencies where such things are a no issue).
If not then I think that using Provider in this package is problematic, as a "utility package" it is a problem for it to prevent apps using this package from using whatever version of another "utility package" (ie Provider).

In any case, thank you for sharing this package !

@mehdizarepour
Copy link
Owner

Hi, @ValYouW

Thank you for opening this issue, I've upgraded Provider package's version to 6.0.1 and it's available on 0.6.0.
I'm closing this issue, feel free to reopen it if you have any problems.

thanks.

@ValYouW
Copy link
Contributor Author

ValYouW commented Nov 7, 2021

@mehdizarepour Thank you very much!! really appreciate it.
I would still consider not using Provider in this package as this issue will rise every time there is a mismatch between this package and the "hosting" app, but your call :)
Thanks again!

@mehdizarepour
Copy link
Owner

@ValYouW I know what you are mentioning, I will do that one day when I had time ;)
I've had a background from Nodejs too and I didn't know there's a problem like this in Flutter! and also you're welcome to open a PR ;)

Thanks!

@ValYouW
Copy link
Contributor Author

ValYouW commented Nov 7, 2021

If you are open to PR I'll be happy to try!

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

No branches or pull requests

2 participants