flutter_persist_state 0.0.1 copy "flutter_persist_state: ^0.0.1" to clipboard
flutter_persist_state: ^0.0.1 copied to clipboard

A lightweight state management solution with automatic persistence to local storage

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.0.1 - 2024-01-01 #

Added #

  • Initial release of Flutter Persist State
  • PersistState<T> class for managing persistent state
  • PersistStateMixin for easy widget integration
  • PersistStateWidget for providing state to widget tree
  • SinglePersistStateWidget for single state management
  • SharedPreferencesAdapter for small data storage
  • FileStorageAdapter for large data storage
  • Automatic persistence with configurable debouncing
  • Type-safe API with generics
  • Stream-based state changes
  • Comprehensive unit tests
  • Complete documentation and examples

Features #

  • Lightweight state management with minimal overhead
  • Automatic persistence to local storage
  • Configurable debounce to prevent excessive writes
  • Multiple storage adapters for different use cases
  • Easy integration with Flutter widgets
  • Proper resource disposal and cleanup
1
likes
0
points
27
downloads

Publisher

verified publisherbechattaoui.dev

Weekly Downloads

A lightweight state management solution with automatic persistence to local storage

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, path_provider, shared_preferences

More

Packages that depend on flutter_persist_state