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

What is correct version # #66

Closed
EHBradford opened this issue Feb 25, 2022 · 1 comment
Closed

What is correct version # #66

EHBradford opened this issue Feb 25, 2022 · 1 comment

Comments

@EHBradford
Copy link

EHBradford commented Feb 25, 2022

Can someone please indicate what the latest version number of this library is, the one which supports null-safety? There are a couple posts in the "Issues" which allude to what is supposed to work but nothing definitive (A sampling of a working example from pub spec.yaml is always useful).

Two weeks ago my project compiled fine. Now I have spent 3 hours trying to resolve issues with this library and the shared_preferences library.

I have an app that itself is fairly new and has been written to support null safety. And as noted a couple weeks ago all was good. No issues.

Today I needed to make a small code change and I am now battling version hell on these two libraries for some unknown reason.

It would be very helpful if someone would document this library's latest version # I can use in the pubspec.yaml file and the version of shared_preferences this library needs for support purposes.

Thank you.....

=====

Note when I place the following in my pubspec.yaml

dependency_overrides:
dynamic_theme:
shared_preferences: 2.0.13

I get the following when I do a "pub get"

Warning: You are using these overridden dependencies:
! dynamic_theme 1.0.1
! shared_preferences 2.0.13

A compile cycle gives me:

Error: Cannot run with sound null safety, because the following dependencies
don't support null safety:

  • package:dynamic_theme
@EHBradford
Copy link
Author

While reviewing the results from:

flutter pub cache repair

The only version ever listed is 1.0.1 so I shall assume that is the answer.

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

1 participant