-
Notifications
You must be signed in to change notification settings - Fork 184
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
Flutter still unable to recognize package as null-safety #112
Comments
Please @Ali-Azmoud update pub version so that the already merged null-safe version is available for all. |
To workaround this, I downloaded the git repo, put it in the top-level directory of my project, and put the following in pubspec.yaml:
The null safety error is no longer happens. |
My solution is to import the library using the github url instead of the version number. In production environment, though, this is not desirable, so it would be best to have the new version marked as such. |
@Ali-Azmoud Can you please release the latest version of the plugin with null safety support? |
Even when I used the null compatible version from master, this package has issues regarding the selectable region of the thumb. I ended up building my own slider by following this answer. It really wasn't much more difficult than using this package. |
Master branch supports Null Safety but the pub version has not been updated use this. |
environment:
sdk: ">=2.12.0 <3.0.0"
dependencies:
flutter_xlider: ^3.4.0-dev.3
During flutter build, it still complains that the package is not null-safe.
The text was updated successfully, but these errors were encountered: