animated_stack_plus 1.1.1
animated_stack_plus: ^1.1.1 copied to clipboard
A flexible and modern animated Floating Action Button (FAB) stack for Flutter with custom icons, builders, and smooth animations.
Changelog #
1.1.0 #
Changes #
- Renamed
fabOpenIconandfabCloseIcon(previously restricted to the standardIcontype) tofabOpenWidgetandfabCloseWidgetof typeWidget. This grants full visual design freedom, allowing users to pass SVGs, custom images, or complex widgets.
Added #
- Added
fabSize(default:56.0) to customize Floating Action Button dimensions. - Added
actionsSpacing(default:16.0) to define spacing between the FAB and revealed background actions. - Introduced
foregroundDimColorto render an animated fading background color overlay across the translated primary UI.
Fixed #
- SnackBar Alignment Break: Repositioned background actions inside the native
FloatingActionButtonLocation.endFloatslot. This resolves the alignment issue where a SnackBar or keyboard shifted the FAB upward, leaving background actions behind. - Hit-Test Boundaries: Introduced a customized
_OverflowTouchStackto bypass default bounding box clipping, ensuring action buttons that extend past physical container sizes are fully clickable. - Visual Overflow Warnings: Removed internal hardcoded constraints (
ConstrainedBox), resolving yellow-and-red stripedBOTTOM OVERFLOWEDvisual layout errors.
Optimizations #
- Switched from fractional
SlideTransitionmath to absolute physical pixel translation viaTransform.translate. This completely decouples calculations fromMediaQueryDatainside the build lifecycle, reducing GC allocations and performance overhead.
1.0.1 - 2025-10-22 #
- Improved README with better structure, polished examples, and added demo GIF/video preview for web usage.
1.0.0 - 2025-10-22 #
- Initial release