flutter_operations 1.1.1
flutter_operations: ^1.1.1 copied to clipboard
Type-safe async operation state management for Flutter using sealed classes and exhaustive pattern matching.
1.1.1 #
- Address format warnings.
1.1.0 #
BREAKING CHANGES:
- Removed
idleparameter fromLoadingOperation - Added
IdleOperation<T>class extendingLoadingOperation<T> - Changed
LoadingOperationfromfinaltobaseclass - Added convenience getters:
hasNoData,isLoading,isIdle,isSuccess,isError, etc. - Added
SuccessOperation.empty()constructor andemptyproperty - Added
setIdle()method to both mixins - Removed
doesGlobalRefreshparameter from internal methods
Migration:
- Replace
LoadingOperation.idlechecks withoperation.isIdle - Handle
IdleOperationin pattern matching whenloadOnInit = false - Update equality checks due to
LoadingOperationstructure changes
1.0.1 #
- Update README.md
1.0.0 #
- Initial release.