mayr_stateman 1.0.0 copy "mayr_stateman: ^1.0.0" to clipboard
mayr_stateman: ^1.0.0 copied to clipboard

A lightweight and intuitive state utility for Dart. Easily manage and track states, statuses, messages, and payloads with simple, chainable methods.

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.


1.0.0 - 2025-10-07 #

Added #

  • Comprehensive test coverage with 33+ test cases
  • Detailed documentation and comments throughout the codebase
  • GitHub Actions workflow for automated publishing to pub.dev
  • Enhanced code documentation with detailed method and class descriptions
  • Type safety tests for various payload types

Changed #

  • Applied software engineering principles (KISS, DRY, SRP, SOC)
  • Improved code quality by removing unnecessary this. qualifiers
  • Enhanced inline documentation for better developer experience
  • Formatted entire codebase with dart format
  • Refactored code to follow Dart best practices

Fixed #

  • All linting issues resolved
  • Code analysis warnings eliminated

0.1.0 #

  • Initial release 🎉
  • Introduced MayrStateman class with flexible and easy-to-use state management along with MayrStatus.
  • Supported states: empty, error, idle, loading, success, updating.
  • Added support for:
    • Setting and getting status easily
    • Managing payloads of any type
    • Handling messages associated with the state
    • Emoji getter for state visualisation
  • Exported everything under a simple and clean API.
1
likes
160
points
30
downloads
screenshot

Publisher

verified publishermayrlabs.com

Weekly Downloads

A lightweight and intuitive state utility for Dart. Easily manage and track states, statuses, messages, and payloads with simple, chainable methods.

Repository (GitHub)
View/report issues

Topics

#state #utilities #dart #productivity #toolkit

Documentation

Documentation
API reference

License

MIT (license)

More

Packages that depend on mayr_stateman