flutter_chat_ui icon indicating copy to clipboard operation
flutter_chat_ui copied to clipboard

Mention feature for Group Chat Scenarios

Open aytunch opened this issue 2 years ago • 3 comments

Especially in group chats, many modern chat apps have mentioning feature. Let's say we have a list of Users for our group chat. When the user types @ in to the chat text field, we should show the list of users in a popup. And when the user keeps typing letters, we should filter the users according to the filter text. If the user chooses one of the suggested users to mention, that user name should have a different style in the text field, telling the user that they will be mentioned.

I know there are separate packages for the UI which do these. If you think this is a good addition and want more info I can supply more resources.

Thanks for this great package.

The screen shots are from desktop apps of Discord and Slack for reference.

Screenshot 2022-12-23 at 22 43 34 Screenshot 2022-12-23 at 22 44 01

aytunch avatar Dec 23 '22 19:12 aytunch

Hey, what separate packages you have in mind?

demchenkoalex avatar Dec 27 '22 15:12 demchenkoalex

I'm going to add a group chat function to my open source project, and I need a similar effect

I know https://github.com/fluttercandies/extended_text AtText class is part of the function, but not all, are less than perfect

leeyisoft avatar Feb 15 '24 12:02 leeyisoft

I wish there would be something like this for flutter https://github.com/Expensify/react-native-live-markdown

demchenkoalex avatar Feb 17 '24 15:02 demchenkoalex