Skip to content
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_settings_screens not null safety #79

Closed
aleynaeser opened this issue Feb 16, 2022 · 4 comments
Closed

flutter_settings_screens not null safety #79

aleynaeser opened this issue Feb 16, 2022 · 4 comments

Comments

@aleynaeser
Copy link

Null safety is not supported. It gives the following error in current flutter version

Error: Cannot run with sound null safety, because the following dependencies
don't support null safety:
 - package:flutter_settings_screens
@GAM3RG33K
Copy link
Owner

@Aleynaesr Make sure that you use the pre-release version of the plugin. It has been migrated to null safety already.

Link: https://pub.dev/packages/flutter_settings_screens/versions/0.3.2-null-safety

I am planning to release a stable version of the plugin as well, but I am not getting enough time for that.

Please close this issue, if your warning is gone by using the pre-release version. If not, then provide more details like, flutter doctor log, pubspec.yaml content regarding the dependencies, etc.

@aleynaeser
Copy link
Author

Thank you @GAM3RG33K 🎈
0.3.2 version gives the following error:

Because settings_ui depends on flutter_settings_screens ^0.3.2 which doesn't match any versions, version solving failed.
pub get failed (1; Because settings_ui depends on flutter_settings_screens ^0.3.2 which doesn't match any versions, version solving failed.)

But, 0.3.1. version worked for me 😊

@GAM3RG33K
Copy link
Owner

Oh, ok. Since I don't have access to the pubspec content, I can't say for sure. But I hope that you have added 0.3.2-null-safety instead of just 0.3.2

@aleynaeser
Copy link
Author

Yes, 0.3.2 worked. Thank you 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants