Open cangSDARM opened 3 years ago
I need nullsafety update.
Just use this notation dio_http_cache: git: url: https://github.com/hurshi/dio-http-cache.git
Or download the folder and manually point to the path.
I need nullsafety update.
Just use this notation dio_http_cache: git: url: https://github.com/hurshi/dio-http-cache.git
Or download the folder and manually point to the path.
Just wondering why does this changes are not on pub.dev, getting from git feels weird
Just wondering why does this changes are not on pub.dev, getting from git feels weird
You're too impatient dude :)
this would be important to me.
On a different note, its even required to use pub and not git when using a package in another package. Though that isnt relevent for me personally.
This single package, dio_http_cache, is keeping me from publishing my app "warning: Publishable packages can't have git dependencies. (invalid_dependency at [station6] pubspec.yaml:33)"
Edit: this can be fixed by adding publish_to: 'none'
to your pubspec.yaml. (add right after description: on its own line.)
Wondering if dio-http-cache_extended is the solution
In a nutshell, people usually consider using the version of pub.dev instead of configuring the version through git. Because the version difference between the master branch and pub.dev is too large, users are still publishing outdated issues and prs. Publishing to pub.dev earlier can solve most problems in time and bring a better environment.