Can you lead me on how to create a widget that shows the new and unseen messages send by the users? I already implemented the chat app so in firestore 'chats' document I have a list of string named last_messege_seen_by : there goes users references. When a message is sent it's already seen by the sender right away, so list takes the reference of the sender, than when the user opens the ChatPage the list is completed with two users' reference ids. However, when I inserted the backend query from firestore to the app, I could only filter the arrays containing users ref in chat collection. So the logic cant be implemented since the user maybe chatting with several other users, and may have unseen texts.