atomic_flutter 0.2.4  atomic_flutter: ^0.2.4 copied to clipboard
atomic_flutter: ^0.2.4 copied to clipboard
A lightweight, reactive state management solution for Flutter applications with async state support and domain-specific atoms.
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.2.3 - 2025-08-11 #
Fixed #
- Clean up whitespace in async widget and test files
- Update async handling and improve code structure
0.2.0 - 2025-08-11 #
Added #
- AsyncAtom: New async state management with AsyncValue<T>wrapper
- AsyncState enum: idle,loading,success, anderrorstates
- AsyncAtomBuilder: Widget for building UI based on async atom states
- AsyncBuilder: Simplified async widget with retry and refresh support
- Async Extensions:
- debounceAsync()- Debounced async operations
- mapAsync()- Transform async values
- executeIfNotLoading()- Conditional execution
- executeWithRetry()- Retry failed operations with exponential backoff
- chain()- Chain async operations
- cached()- Create cached async operations with TTL
- toAsync()- Convert regular atoms to async atoms
- asyncMap()- Create async atoms from regular atom changes
 
- Global Async Functions:
- computedAsync()- Create debounced computed async atoms
- combineAsync()- Combine multiple async atoms
 
- Memory Management: Enhanced automatic cleanup for async operations
- Debug Support: Extended debug utilities for async atoms
- Comprehensive Test Coverage: Added extensive tests for all new features
Changed #
- Enhanced core Atomclass with improved async support
- Updated extension methods with better async integration
- Improved documentation with async examples
Fixed #
- Async atom test stability improvements
- Memory leak prevention in async operations
0.1.1 - 2025-03-17 #
0.1.0 - 2025-03-17 #
Added #
- Initial beta release
- Core Atomclass for state management
- computedfunction for derived state
- UI widgets: AtomBuilder,MultiAtomBuilder, andAtomSelector
- Extension methods: effect,asStream,select,debounce, andthrottle
- Automatic memory management with reference counting
- Debug utilities for tracking atom state and changes
- Comprehensive documentation and examples