instagram_like_animation_button 4.0.0
instagram_like_animation_button: ^4.0.0 copied to clipboard
Fully customizable Instagram Reels double-tap heart animation for Flutter. Fly-to-target, custom builders, gradients, haptic control.
Changelog #
1.0.1 — 2026-02-14 #
🔧 Fixes #
- Fixed demo GIF path for pub.dev and GitHub display
- Shortened package description for pub.dev compliance
1.0.0 — 2026-02-14 #
🎉 Initial Release #
Widgets
ReelAnimationLike— Main fly-to-target animation widget with full customization.HeartWidget— Default heart icon with gradient and color support.GradientIcon— ShaderMask gradient wrapper for any widget.DoubleTapDetector— Double-tap gesture handler with position data.
Config & Style
LikeAnimationConfig— 16 configurable animation parameters withcopyWith().LikeAnimationStyle— Visual style (gradient, color, icon size) withcopyWith().
Core
HapticFeedbackType— Enum for controlling haptic feedback (none/light/medium/heavy/selection/vibrate).AnimationWidgetBuilder— Typedef for custom widget builders.DoubleTapCallback— Typedef for double-tap callbacks.
Mixins & Extensions
HapticFeedbackMixin— Mixin for easy haptic feedback on any State.GlobalKeyX— Extension forglobalPosition,centerPosition,widgetSize.OffsetX— Extension fordeltaTo()offset calculation.
Services
HapticManager— Singleton haptic feedback service.DebounceAction— Singleton debounce service with cancellation.
Resources
AssetRes— Bundled heart icon asset paths.ColorRes— Instagram-style color constants.StyleRes— Theme gradient constant.
