GeekAbdelouahed / flutter-reaction-button

Flutter Reaction Button is a customizable Flutter package that allows you to easily create interactive buttons with reaction emojis, similar to Facebook's iconic reaction buttons.
https://pub.dev/packages/flutter_reaction_button
MIT License
215 stars 78 forks source link

Top Position isn't on top of ReactionButton #20

Closed SchnMar closed 2 years ago

SchnMar commented 3 years ago

Hello,

I've got another issue. The reaction bar is not displayed on top of the reaction button, but there is little spacing between. image

Can you add more custom positioning attributes? This would help me and maybe https://github.com/GeekAbdelouahed/flutter-reaction-button/issues/13.

Thank you!

hadihassan09 commented 3 years ago

Same issue!

damian-kaczmarek commented 3 years ago

Issue arise because of this line in ReactionBox double _getTopPosition() => widget.buttonOffset.dy - widget.buttonSize.height * 3.3; Maybe something like boxOffset should be added to FlutterReactionButton and used here so everyone can set it as they like.

GeekAbdelouahed commented 2 years ago

Check the last version @SchnMar

flutter_reaction_button: ^2.0.0
jigarfumakiya commented 2 years ago

Any update here? Is there anyway I can set offset @GeekAbdelouahed ?