GAM3RG33K / flutter_settings_screens

Settings Screen with Custom Shared Preference Interface
MIT License
176 stars 71 forks source link

flutter_settings_screens not null safety #79

Closed aleynaeser closed 2 years ago

aleynaeser commented 2 years ago

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 commented 2 years ago

@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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

Yes, 0.3.2 worked. Thank you 😊