mayr_stateman 0.1.0
mayr_stateman: ^0.1.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.
0.1.0 #
- Initial release 🎉
- Introduced
MayrStateman
class with flexible and easy-to-use state management along withMayrStatus
. - 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.