async_button_handler 0.1.0+2
async_button_handler: ^0.1.0+2 copied to clipboard
A Flutter package that provides a customizable button widget to handle asynchronous actions with built-in loading and error state handling.
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 - 2024-12-11 #
Added #
- Overlay Loading Mode: Improved behavior for modal loading indicators during async operations.
- Example App: Added a comprehensive example app in the README to demonstrate various use cases.
Changed #
onErrorRemoved: TheonErrorproperty has been removed, allowing users to handle exceptions directly outside the package for better flexibility and tracking.
Fixed #
- Improved internal logic for handling mounted state during async operations.
- Enhanced documentation for better clarity and usability.
0.0.1 - 2024-10-16 #
Added #
- Initial release of
Async Button Handlerpackage. AsyncButtonHandlerwidget for handling async actions with built-in loading state handling.onPressedproperty to handle async or sync actions.loadingChildproperty to display a custom loading indicator.buttonChildproperty for the button's main content.styleproperty to customize button appearance.onErrorproperty to handle error states without requiring additional state management.
Fixed #
- N/A
Changed #
- N/A