draggable_button_panel 1.0.0-dev.7
draggable_button_panel: ^1.0.0-dev.7 copied to clipboard
The DraggableButtonPanel is a widget displaying a button with a movable panel of options. When clicked, it animates the panel's appearance. Customizable in color, size, and opacity. Implements Statefu [...]
Changelog #
All significant changes to this package will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.0-dev.9 - 2025-10-20 #
Changed #
- BREAKING:
onPositionChangednow emitsPanelPositioninstead ofOffset. - Updated example app and README accordingly.
1.0.0-dev.8 - 2025-10-20 #
Changed #
- Introduced
PanelPositionvalue object andpanelPositiongetter/setter onDraggableButtonPanelStateto set/get position and docking in one call. Backward-compatible withsetPanelPosition.
Docs #
- README updated: examples now use
panelPosition = PanelPosition(...); clarified thatleftis deprecated for layout and docking determines horizontal position.
1.0.0-dev.7 - 2025-10-15 #
Added #
- DraggableButtonPanel.onMenuExpand: émission de l'index et de l'id (si fourni) lorsqu'un menu d'options s'étend.
1.0.0-dev.6 - 2025-10-15 #
Added #
- PanelButton.tooltip: possibilité d'afficher une info-bulle (Tooltip) sur le bouton principal (PanelButton).
1.0.0-dev.5 - 2025-10-15 #
1.0.0-dev.4 - 2025-10-14 #
Added #
- PanelButton with per-row expansion animations; OptionButtons slide out from behind the row.
- Toggleable mode for rows without options, with single or multiple selection.
- Emission of toggle changes via onTogglesChanged with indices and optional ids (ToggleEntry).
- Dock-aware border radii on parent container and precise rounding for first/last main buttons and far-end option.
- Drag feedback mirrors the current visual state (colors, options, orientation, expansion).
Changed #
- Fixed layout overflows and prevented panel width shifts when rows expand.
- Refactored and documented public API for package readiness.
Deprecated #
- None.
Fixed #
- RenderFlex overflow in certain collapsed states.