dynamic_button 1.0.0
dynamic_button: ^1.0.0 copied to clipboard
A production-ready Flutter UI library for building customizable buttons, chips, segmented controls, filter buttons, and selectable components with animations, themes, and generic item support.
Changelog #
All notable changes to this project will be documented in this file.
1.0.0 #
🚀 Breaking Changes #
- Replaced
listparameter with genericitems. - Changed API from
DynamicButtonsimple widget to genericDynamicButton<T>. - Replaced individual styling parameters with
DynamicButtonStyle. - Replaced fixed UI rendering with customizable
itemBuilder. - Changed callback signature:
-
Old:
onTap(String item) -
New:
onTap(T item, int index)
-
✨ New Features #
- Added generic item support.
- Added custom widget rendering.
- Added selection controller.
- Added single selection mode.
- Added multiple selection mode.
- Added segmented control support.
- Added chip/filter style support.
- Added gradient backgrounds.
- Added border customization.
- Added shadow support.
- Added animation configuration.
- Added theme support.
- Added dark mode compatibility.
🏗 Architecture #
- Introduced scalable package structure.
- Added separated models, controllers, components, and enums.
- Improved API documentation.
- Improved example application.
0.0.7 #
- Previous simple button implementation.