atomic_flutter 0.2.4 copy "atomic_flutter: ^0.2.4" 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.4 - 2025-08-29 #

Changed #

  • Add runImmediately option to effect for execution control

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.2 - 2025-08-11 #

Fixed #

  • Unused local variables in debug tests

0.2.1 - 2025-08-11 #

Fixed #

  • Code linting issues

0.2.0 - 2025-08-11 #

Added #

  • AsyncAtom: New async state management with AsyncValue<T> wrapper
  • AsyncState enum: idle, loading, success, and error states
  • 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 Atom class 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.3 - 2025-05-20 #

Changed #

  • Update readme

0.1.2 - 2025-03-25 #

Fixed #

  • effect function listener removal

0.1.1 - 2025-03-17 #

Fixed #

  • computed function expection

Changed #

  • Update example with complete setup for e-commerce app

0.1.0 - 2025-03-17 #

Added #

  • Initial beta release
  • Core Atom class for state management
  • computed function for derived state
  • UI widgets: AtomBuilder, MultiAtomBuilder, and AtomSelector
  • Extension methods: effect, asStream, select, debounce, and throttle
  • Automatic memory management with reference counting
  • Debug utilities for tracking atom state and changes
  • Comprehensive documentation and examples
3
likes
160
points
39
downloads

Publisher

verified publisherarkar.dev

Weekly Downloads

A lightweight, reactive state management solution for Flutter applications with async state support and domain-specific atoms.

Repository (GitHub)
View/report issues

Topics

#state-management #reactive #flutter #atoms #async

Documentation

Documentation
API reference

Funding

Consider supporting this project:

github.com

License

MIT (license)

Dependencies

flutter, meta

More

Packages that depend on atomic_flutter