Closed iamriajul closed 3 years ago
If there is no WIP for migrating this package to null-safety, I would happy to make a PR.
If there is no WIP for migrating this package to null-safety, I would happy to make a PR.
You're welcome, you can make a PR. Jazhaka Allahu Khairan.
Look like three package doesn't support Null-Safety
migrating a package without the null safety packages that depend on this package is discouraged.
Should we wait for these three projects to migrate?
I think we should wait.
although they are only dev dependencies, this package has no dependencies other than dev dependencies.
I think we can migrate only the lib folder (not test folder).
I think we can remove Strings
package and we can find a workaround. It hasn't been used much in this project.
As for dart_numeric
, the last update was in 2018.
I think we can migrate only the lib folder (not test folder).
I don't think we can do that. If the lib folder changed, test might have some error.
As said Dart 2 is sound null safety, which means nullsafety code can be used from non-nullsafe code, they can co-exist. I think we shouldn't worry about the test, the test should run fine.
Ah! I get it. Will send a PR by tomorrow.
Published as prerelease: https://pub.dev/packages/adhan/versions/2.0.0-nullsafety.0 Try it out in your projects. and give feedback.
Dart null safety: https://dart.dev/null-safety