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

date_time_picker is not compatible with latest intl 0.18.1 package #90

Open
kamleshwebtech opened this issue Sep 11, 2023 · 4 comments
Open

Comments

@kamleshwebtech
Copy link

Hi, I am using latest version of date_time_picker and intl in my flutter project. Flutter version is 3.14 but still not able to use date_time_picker package because it is using old intl package as dependency. That's why when I am compile my application, it gives me below error and it is not compiled:

date_time_picker >=2.0.0 depends on intl ^0.17.0 and johndoedotin depends on intl 0.18.1, date_time_picker >=2.0.0 is forbidden. So, because johndoedotin depends on date_time_picker ^2.1.0, version solving failed.

date_time_picker dev team please check this issue and suggest me, how can we solve this and use your good date_time_picker package in my project. Thanks a lot.

Look forward to hear you.

@kamleshwebtech
Copy link
Author

I have found a temporary solution of this issue for now

Add this dependency in your pubspec.yaml file:

date_time_picker: git: url: https://github.com/DavidHDJ/date_time_picker.git ref: 2.1.1

But date_time_picker dev team please take care this issue and fix it ASAP. Thanks a lot.

@FraPrime
Copy link

FraPrime commented Oct 8, 2023

Hi, does this url still work ? I have tried my self but with no luck.
Did you put the entire url in the pubspec.yaml ?
Thanks

@arsarsars1
Copy link

arsarsars1 commented Oct 11, 2023

Hi you can try the following. That is working. Thank you

date_time_picker:
  git:
    url: https://github.com/arsarsars1/date_time_picker.git
    ref: new_version 

@sumit-chavla-hra
Copy link

Hi, does this url still work ? I have tried my self but with no luck. Did you put the entire url in the pubspec.yaml ? Thanks

try this

date_time_picker:
  git: 
      url: https://github.com/DavidHDJ/date_time_picker.git
      ref: 2.1.1

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

4 participants