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
Null safety and Flutter 2.0 support #164
Comments
Working on it now |
Hey everyone. I cannot upgrade to 2.0 until the Cupertino package is updated. I am thinking about ripping this completely out for the 2.0 and having only Material. Any concerns? |
Hi @codegrue |
Same. I've been restricted likewise by what this package depends on. |
I'm halfway through the nullsafety changes. There are over 1k lines to fix.. ugh. |
I understand. Thank you for your commitment. |
I'm using only material on both iOS and Android. It is not a problem to remove Cupertino widgets, even if it is a shame because I think a lot of work has been done to implement it in this package. We can try to fork the repo and create a version that support the null safety. |
I wanted to update everyone. I have completed migrating the code (over 1000 changes) and have it checked in locally. I need to do a full regression test before pushing it up. My goal is Friday so you can test, then to pub.dev if all is good. I branded the 1.x code so you can link to that if you still need to use the old version. |
I pushed the updated code up. There is still an issue with the currency field, but otherwise, I think everything is working. I will continue to test over the next few days, |
Hey @codegrue,
Thanks |
It's coming soon. I have other dependencies that are preventing me from releasing up update. Until then you can override in your pubspec.yaml:
|
I have been using this plugin since version 1.3.1 and I thank you for that. I am waiting nullsafety version as well. Currently updating my app to Flutter SDK 2. I update most of the plugin and only waiting card_settings plugin. Currently I am using following plugins in my app as shown below. When I check the plugin pub spec.yaml you update theintl version and plugin now uses intl: ^0.17.0. Which is good for me. But plugin still use flutter_cupertino_settings: ^0.3.1. Can you update this as well? If not should I have to change my cupertino_icons to version 1.0?
|
The nullsafe code is checked in if you reference the Github repository directly. This needs some testing before a full release. Currency is not working yet. |
I did but didnt work. I really need this to finish my app to upload App Store. :( environment: dependencies:
And when I try to override I got another error as:
|
OK, This looks work but didnt test yet.
|
And this my flutter doctor -v:
|
smaller device I got an overflow issues other than that null safety (https://github.com/codegrue/card_settings.git)version looks works perfectly. 👍 🥇 |
In CardSettingsDouble the initialValue was 0.0. When try to enter a new value it doesn't clear the 0. If I try to clear zero to enter new value I get below error. In onChanged: if no value I got Invalid double error.
|
2.0 has been published with null safety. It's still unsound mode because cupertino_settings is not yet null-safe. Please log any issues found as separate tickets. |
Thanks. I will use 2.0 plugin and test again. 👍🙏 |
This should be fixed in 2.0.1 |
Good morning,
it will be beautiful if this package can support Flutter 2.0 and null safety. It is also needed to update dependencies on order to achieve that.
Is there any planning about this new migration?
Thank you
The text was updated successfully, but these errors were encountered: