custom_progress_button 2.0.1
custom_progress_button: ^2.0.1 copied to clipboard
is a Flutter plugin for creating customizable buttons with different states and optional progress indicators.
Changelog #
2.0.1 #
- update README
2.0.0 #
- Breaking Change: Renamed the package from
progress_buttontocustom_progress_buttonto avoid naming conflicts. - Added support for null-safety.
- Updated the
custom_icon_buttondependency to version 2.0.0, which also supports null-safety. - Updated Flutter SDK version to support null-safety.
- Updated documentation and examples for clarity and accuracy.
- Improved overall performance and stability.
1.2.0 #
- Added support for customizing the button's corner radius.
- Added new properties to customize the button's appearance:
elevation: The elevation of the button for elevated and outlined shapes.inLineBackgroundColor: The background color of the button when it's in the loading or success state.enable: If false, the button will be disabled and not respond to touch events.progressAlignment: The alignment of the progress indicator whenprogressWidgetis not provided.minWidthStates: The list of states that should use the minimum width of the button.buttonShapeEnum: The shape of the button (elevated, outline, or flat).
- Fixed a bug where the button's appearance would not update correctly when the state changes.
1.1.0 #
- Added support for creating buttons with icon buttons for different states using the
ProgressButton.iconconstructor. - Introduced the
CustomIconButtonclass to represent an icon button with optional text and color. - Added utility functions to help build widgets containing icons, text, and gaps with specified styles.
- Improved the README with comprehensive usage instructions and examples.
1.0.0 #
- Initial release of the
progress_buttonpackage. - Provides a customizable button widget that shows different states based on the
ButtonStateenum. - Supports a loading state with an optional progress indicator.
- Allows customization of appearance and behavior using various properties.