genui_button 0.0.6
genui_button: ^0.0.6 copied to clipboard
A GenUI compatible button widget package. Provides a GenUIButton catalog item for GenUI agents to produce interactive UI.
0.0.6 #
- Refactored Architecture: Split
genui_button.dartlogic intocatalog_item.dart,schema.dart, andutils.dartfor better maintainability. - Modern UI Elements: Added
isLoadingproperty for rendering a loading spinner state seamlessly, andgradientColorsto easily add linear gradients. - Granular Desktop Events: Included hover and double-click actions with
onHoverEnterAction,onHoverExitAction, andonDoubleClickAction. - Execution Fixes: Properly isolated debouncers to run before evaluating haptics and confirmation dialog actions.
0.0.5 #
- Enhanced Confirmation: Added
isEnabledflag to explicitly toggle confirmation dialogs. - Custom Action Strings: Added
onConfirmActionandonCancelActionto allow developers to trigger specific events for dialog interactions.
0.0.4 #
- Realistic Action Handling: Added
confirmationdialogs,debounceMs, andonLongPressAction. - Context Awareness: Added
contextMappingto resolve action payload values dynamically from the GenUIDataContext. - Static Data: Added
dataproperty for passing fixed parameters with actions. - Premium Feel: Added
HapticFeedbackon button interactions.
0.0.3 #
- Enhanced UI customizations: added
borderColor,borderWidth,shadowColor,fontWeight,letterSpacing,tooltip, andfullWidth. - Added intelligent default fallbacks to native Material 3
ThemeDataproperties. - Improved edge-case handling on payload casting and null values.
- Added accessibility wrapped with Semantic labels.
0.0.2 #
- Provided comprehensive library documentation.
- Added an example application demonstrating
genui_buttonusage.
0.0.1 #
- Initial release containing
GenUIButtonwidget for the GenUI framework.