get_x_storage 0.2.0 copy "get_x_storage: ^0.2.0" to clipboard
get_x_storage: ^0.2.0 copied to clipboard

GetXStorage is a lightweight and efficient persistent storage solution for Flutter applications

0.2.0 #

  • FIXED: Platform compatibility — all 6 platforms (Android, iOS, Web, Windows, macOS, Linux) now resolve clean import chains with no cross-platform contamination
  • FIXED: Conditional imports for proper platform separation — storage_factory.dart no longer imports both dart:io and package:web simultaneously
  • FIXED: WASM compatibility via dart.library.js_interop conditional import support
  • FIXED: Removed VM-only dart:nativewrappers import from read_write_value.dart
  • IMPROVED: Added path_provider for proper file storage on native platforms (replaced Directory.systemTemp)
  • IMPROVED: Replaced weak XOR cipher with AES-256-CBC encryption (legacy XOR decryption preserved for backward compatibility)
  • IMPROVED: Added supportsDiskWrite and disableDiskWrites() to StorageBase interface — enableBenchmarkMode() no longer uses fragile runtime type checks
  • IMPROVED: All exception rethrows now preserve original stack traces via Error.throwWithStackTrace
  • IMPROVED: Exported ReadWriteValue and StorageExt extension from main library
  • REMOVED: Unused dart:nativewrappers dependency

0.1.0 #

  • BREAKING CHANGE: Migrated from deprecated dart:html to modern package:web for web platform support
  • Fixed web storage persistence issues - data now saves correctly using package:web API
  • Improved web storage implementation with proper localStorage.setItem() and getItem() methods
  • Removed all debug print statements for cleaner production code
  • Enhanced web storage reliability and compatibility with latest Flutter SDK
  • Fixed theme persistence in web applications
  • All tests passing with new web implementation

0.0.9 #

  • BREAKING CHANGE: Removed path_provider dependency to fix Android NDK Clang build errors

  • Replaced encrypt package with lightweight crypto-based encryption for better compatibility

  • Fixed Android build issues with Flutter 3.38+ that required NDK installation

  • Improved cross-platform compatibility by removing native dependencies

  • Updated encryption implementation to use XOR cipher with SHA-256 key derivation

  • All tests passing with new implementation

  • Update Last SDK version

0.0.8 #

  • Update Lsat SDK

0.0.7 #

  • add delete method erese
  • add new method remove

0.0.6 #

  • add new two method

0.0.5 #

  • Fix pub point.

0.0.4 #

  • Fix bug platform support.

0.0.3 #

  • Fix bug platform support.

0.0.2 #

  • Fix bug platform support.

0.0.1 #

  • initial release.
3
likes
160
points
410
downloads

Documentation

API reference

Publisher

verified publisherswanflutterdev.com

Weekly Downloads

GetXStorage is a lightweight and efficient persistent storage solution for Flutter applications

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

collection, crypto, encrypt, flutter, path_provider, rxdart, synchronized, web

More

Packages that depend on get_x_storage