shared_preferences_settings
shared_preferences_settings copied to clipboard
Null safety problem
When trying to use in my app, I got the following issues:
Because shared_preferences_settings >=1.2.0 depends on shared_preferences ^0.5.6+3 and my_app3 depends on
shared_preferences ^2.0.6, shared_preferences_settings >=1.2.0 is forbidden.
and after downgrading shared_preferences, I get the following build error:
Error: Cannot run with sound null safety, because the following dependencies
don't support null safety:
- package:shared_preferences
- package:shared_preferences_settings
- package:shared_preferences_platform_interface
- package:rxdart
- package:flutter_colorpicker
Any help would be most appreciated.
I have run into the same exact issue here. Have you found a resolution?
Hello, I was able to resolve this on my end by making shared_preferences 2.0.8 in my pubspec.yaml file.
pubspec.yaml
shared_preferences: ^2.0.8
Thank you, I will try that