bdaya_shared_value
A straightforward way to manage global state in flutter apps.
5.0.0
4.6K downloads/mo
#3952 most downloaded on pub.dev
Bdaya-Dev/flutter-shared-value
What this package is like to depend on
Last release 2 months ago
31 May 2026
Release timing varies
gaps range from 1 weeks to 3.6 years
Some releases are documented
notes for 2 of 6 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
6 releases · first in 2022
2 releases in the last 12 months
see the full history below
Release timeline
6 releases · Oct 2022 to May 2026Releases
latest 6-
5.0.031 May 2026Release notes
Open source →⚠ BREAKING CHANGES
- persistence API removed entirely (load, save, key, autosave, customEncode, customDecode, customSave, customLoad, serialize, deserialize, SharedValueStorage). Use external persistence solutions and set SharedValue.$ directly.
- shared_preferences is no longer a dependency. load()/save() require customSave/customLoad callbacks. Users who relied on the built-in SharedPreferences persistence must provide their own callbacks.
- rxdart is no longer a transitive dependency. Consumers who relied on rxdart being pulled in transitively must add it directly.
Features
- clean API redesign — remove persistence, optimize internals (145c65f)
- remove rxdart dependency (7b8a6ec)
- remove shared_preferences dependency, make persistence pluggable (5906895)
Bug Fixes
- add # Changelog header to fix release-please insertion order (7815ec7)
Miscellaneous
- clean up .gitignore and remove tracked IDE/generated files (b2438b3)
-
4.0.030 May 2026Release notes
Open source →4.0.0 (2026-05-30)
⚠ BREAKING CHANGES
- Minimum Dart SDK raised to >=3.5.0, Flutter >=3.22.0, rxdart bumped to ^0.28.0, shared_preferences to ^2.5.0.
Features
- modernize to v4.0.0 — Dart 3, rxdart 0.28, CI/CD, tests, release-please (6cfc8c9)
Miscellaneous
- apply dart format tall style for Dart 3.8+ compatibility (b15c30b)
Release notes
Open source →⚠ BREAKING CHANGES
- Minimum Dart SDK raised to >=3.8.0 (Dart 3 required).
- Minimum Flutter SDK raised to >=3.32.0.
- Upgraded rxdart to >=0.28.0 <2.0.0 (unblocks package:oidc rxdart 0.28 upgrade).
- Upgraded shared_preferences to ^2.5.0.
Features
- Comprehensive test suite (24 tests) covering SharedValue API, streams, persistence, custom encode/decode, widgets, and InheritedModel.
- CI pipeline via GitHub Actions (stable + beta Flutter channels).
- Automated pub.dev publishing via trusted publishing (OIDC) with release-please.
- Static analysis with flutter_lints.
- Semantic PR title enforcement.
- Dependabot for pub + GitHub Actions dependency updates.
Miscellaneous
- Apply dart format tall style for Dart 3.8+ compatibility (b15c30b)
-
3.1.303 Nov 2022Nothing published for this version
-
3.1.225 Oct 2022Nothing published for this version
-
3.1.125 Oct 2022Nothing published for this version
-
3.1.023 Oct 2022Nothing published for this version