flyerhq / flutter_chat_ui

Actively maintained, community-driven chat UI implementation with an optional Firebase BaaS.
https://flyer.chat
1.66k stars 719 forks source link

onAvatarTap Sample #384

Closed frkn-erkl closed 3 weeks ago

frkn-erkl commented 1 year ago

When a message or an avatar is clicked, how can a dropdown list style menu be created in the message section? I couldn't find an example of this.

Also, when one of the options in this list is clicked, imagine that a pop-up screen appears on the screen, can this screen be dragged anywhere on the chat panel?

The second question is a bit out of the context of this library, but do you have an answer for the first question in particular?

demchenkoalex commented 1 year ago

Didn't research that still, but eventually yes, long press on a message should have a dropdown with at least remove message button. Can't suggest anything atm cause will need to reaserch how to properly do it in Flutter.

nedphae commented 1 year ago

Didn't research that still, but eventually yes, long press on a message should have a dropdown with at least remove message button. Can't suggest anything atm cause will need to reaserch how to properly do it in Flutter.

Some packages allow wrap a widget to show popup menu, like custom_pop_up_menu . maybe we can provide a wrapbuilder parameter to wrap chat bubbles and avatar.

demchenkoalex commented 3 weeks ago

closing in favour of https://github.com/flyerhq/flutter_chat_ui/discussions/93 - will be picking tasks from Discussions.