flutter_async 0.3.0 flutter_async: ^0.3.0 copied to clipboard
Handle async tasks with ease through automatic loading, error handling, and native widget integration.
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.3.0] - Aug 16, 2023 #
Added #
- Added [AsyncConfig] as config parameter of [Async] widget. This class for now on will hold all specific AsyncWidget configs.
- Added AsyncConfig.of(context);
- Added AsyncConfig.maybeOf(context);
Changed #
- Now WidgetBuilder is used on all state builders widgets for consistency.
Removed #
- [AsyncButtonConfig] will no longer be set with static methods. Use [AsyncConfig] instead through [Async] widget inheritance.
- Removed AsyncButton.setConfig & others.
[0.2.0] - Aug 15, 2023 #
Added #
- Added [Async] widget for void async tasks, utilities and inheritance (you can provide custom loader and error).
Changed #
-
Breaking change: AsyncBuilder now has one single constructor.
-
AsyncBuilder.future, renamed to -> AsyncBuilder.getFuture.
-
AsyncBuilder.stream, renamed to -> AsyncBuilder.getStream.