flutter_smart_button 0.2.1
flutter_smart_button: ^0.2.1 copied to clipboard
A customizable smart button widget for Flutter applications, designed to handle asynchronous operations with a loading indicator, and customizable styles.
Changelog #
All notable changes to this project will be documented in this file.
0.2.1 #
Added #
- Added
disabled,disabledIndicator, anddisabledColorproperties toSmartButtonto handle the disabled state.
0.2.0 #
Added #
- Added
successIndicatorandfailureIndicatorproperties toSmartButtonfor representing success and failure states. - Added
onSuccesscallback, which is called after the asynchronous operation completes successfully. - Added
onFailurecallback, which is called if the asynchronous operation fails. - Implemented logic to reset the success or failure state after the completion of the asynchronous operation.
- Enhanced touch feedback and added user-defined animation effects for a better user experience.
Changed #
- Modified properties
buttonColor,textStyle,borderWidth,borderColor,paddingto customize the style ofElevatedButton.
Fixed #
- Fixed issues with UI display during the loading state.