karan / validator.dart

:turtle: String validation and sanitization for Dart.
https://pub.dartlang.org/packages/validator
MIT License
63 stars 86 forks source link

Please support Dart SDK 2.1.0 #6

Open LiveRock opened 6 years ago

LiveRock commented 6 years ago

Please support SDK version is 2.1.0-dev.1.0.flutter-69fce633b7

Thank you!

juliovedovatto commented 6 years ago

I'm not able to work in my project due this problem:

flutter packages get
Running "flutter packages get" in grocery_list...
The current Dart SDK version is 2.1.0-dev.3.1.flutter-760a9690c2.

Because validator 0.0.7 requires SDK version <2.0.0 and no versions of validator match >0.0.7 <0.1.0, validator ^0.0.7 is forbidden.
So, because grocery_list depends on validator ^0.0.7, version solving failed.
pub get failed (1)
exit code 1
lifenautjoe commented 5 years ago

Any hope for this @karan ? 🙏

juliovedovatto commented 5 years ago

I had to fork this project into my github to fix issue and be able to use this package.

I suggest you to do the same @lifenautjoe, bc I tried to ping the author of this package and he never replied (both here and twitter).

it's not the best solution, but it worked for me, since flutter packages accepts git repositories.

I even created a pull request https://github.com/karan/validator.dart/pull/7