koukibadr / Elegant-Notification

https://pub.dev/packages/elegant_notification
MIT License
46 stars 30 forks source link

Add onTap and closeOnTap methods #105

Closed ferraridamiano closed 6 months ago

ferraridamiano commented 7 months ago

Hi there! This PR adds a couple of useful properties to this package:

Thanks for this package, it is very useful. Now I only miss the swipe to remove gesture on the notification. Thanks for moving the packege to MIT license

ferraridamiano commented 7 months ago

closeOnTap is meant to be only on user iteraction, i.e. only when onTapor an action are pressed. If there is no action or tap event associated with it, it should not close. What do you think about it?

koukibadr commented 7 months ago

closeOnTap is meant to be only on user iteraction, i.e. only when onTapor an action are pressed. If there is no action or tap event associated with it, it should not close. What do you think about it?

Let me test it first this evening and then we merge it and publish a new version