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
Extension broken with recent updates in Dev channel #66
Comments
I have the same problem. Is there a quick fix for this? |
You can downgrade flutter https://stackoverflow.com/a/65857155/440696 |
No quick fix in sight with the current incompatibilities between channel stable and beta/dev/master, caused by NNBD. Heard an indication that something might be in the works, but it was very vague. Might be that this is not resolved until NNBD hits stable and everybody must change to "maybeOf" to be able to use latest stable. Perhaps if "maybeOf" is introduced into stable as a hotfix and "nullOK" is deprecated and everybody can migrate to "maybeOf", then there is at least something users of "nullOK" can do to fix it. Currently there is nothing users of "nullOK" can do to support all channels with the same code base. They can offer forked version of the package, one that uses "nullOK" on stable and "maybeOf" on other news versions/channels of the Flutter SDK, but that is a extra work to do an maintain. |
Yes, it is worth doing it, but as far as I know, NNBD will be going to stable soon. I will start updating all my 13 packages as soon as this happens. Until then, I am accepting PRs. If you have the time and knowledge to help update the package, please do. |
You can use:
Until #67 is merged. |
Hey @marcglasberg any news on when this will be merged? |
Hi everyone, any plan for merging this 67 soon? |
Sorry, as far as I understand pub.dev doesn't allow different versions for stable and dev. If I accept this change now won't it break the package for 90% of it's users, since they are in stable? |
@marcglasberg what you should do is to publish a pre-release https://dart.dev/tools/pub/publishing#publishing-prereleases So at the end it should look like this: So that users in |
@nerder Got it. I hadn't noticed that pub.dev actually now does allow different versions like this. |
Published version: |
Thank you so much @marcglasberg happy to help |
The breaking changes might be coming to other channels:
flutter/flutter#74519
The text was updated successfully, but these errors were encountered: