ifl 0.0.3
ifl: ^0.0.3 copied to clipboard
Contract-first storage package for Flutter apps with Hive and secure key-value adapters.
0.0.3 #
- Added
initHiveKvStorageinpackage:ifl/ifl_hive.dartso apps can create Hive-backedKvStoragewithout manually opening aBox. initHiveKvStorageinitializes Hive automatically on first use.- Added one-time init guard to prevent duplicate concurrent initialization.
- Added
subDirconsistency handling after first initialization (logs and ignores new value instead of throwing). - Added defaults in
initHiveKvStorage:boxName = '@ifl'subDir = 'kv_storage'
- Added
resetHiveKvStorageInitStateForTesting()for test-only state reset. - Removed public
createHiveKvStorage(Box<String> box)entrypoint.
0.0.2 #
- Initial release of contract-first storage foundation.
- Added public storage contracts:
Storage,KvStorage,DatabaseStorage. - Added stable entrypoints:
createHiveKvStorageinpackage:ifl/ifl_hive.dartcreateSecureKvStorageinpackage:ifl/ifl_secure.dart
- Added adapter-based implementations for Hive and flutter_secure_storage.
- Added unit tests for storage contracts and implementation behavior.
- Added contribution and architecture docs.
0.0.1 #
- Initial Flutter plugin template scaffold.