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

[QUESTION] How to close popover menu programmatically? #18

Closed Mustahsan1 closed 3 years ago

Mustahsan1 commented 3 years ago

Hi,

I want to close the popover reaction menu manually without user clicking outside the box, is there any possible way to achieve this?

Thanks in Advance

GeekAbdelouahed commented 3 years ago

Hi, @Mustahsan1 you can use navigator to close it:

Navigator.pop(context);
Mustahsan1 commented 3 years ago

Thanks alot @GeekAbdelouahed