dash_chat
dash_chat copied to clipboard
Add A Way To Show Users Name Above Message
If you have a group message, you usually see the name of the person you are talking to above their texts. Was thinking it would be nice if that feature was available. Similar to how there is an option to not show the users avatar after every message, a feature to show the users name above their many messages would be nice.
Good idea
I needed this as well, for a temp solution, I used the messageBuilder param in DashChat and for the MessageContainer that gets returned in that function, I used the messageTextBuilder to implement the name above the message.
@peter-sg can you share your implementation? Thanks :)
@shashwatadi You can use MessageBuilder
property it's a function and you will get the ChatMessage
from it & then build a custom message widget using the value from the message and return it.