flutter_async 0.4.1 copy "flutter_async: ^0.4.1" to clipboard
flutter_async: ^0.4.1 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.4.1] - Sep 7, 2023 #

Added #

  • AsyncObserver for analytics with all possible states within all [AsyncWidget] actions in this package.

  • AsyncObserver.onActionInit

  • AsyncObserver.onActionStart

  • AsyncObserver.onActionInsist

  • AsyncObserver.onActionSuccess

  • AsyncObserver.onActionError

  • AsyncConfig.buttonLoader that applies to all [AsyncButton] if [AsyncButtonConfig] is not set.

  • AsyncConfig.buttonError that applies to all [AsyncButton] if [AsyncButtonConfig] is not set.

[0.3.1] - Aug 17, 2023 #

Fix #

  • Fixed duplicate keys on AsyncButton super.key.

[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.

[0.1.0] - Jul 10, 2023 #

Changed #

  • Bump support to Dart SDK 2.17 <4.0 (flutter 3.0)

[0.0.1] - Jul 9, 2023 #

Added #

  • Initial pre-release.
3
likes
0
pub points
66%
popularity

Publisher

verified publisherbranvier.com

Handle async tasks with ease through automatic loading, error handling, and native widget integration.

Homepage

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutter_async