'How to make Create/Join group with Firebase in Flutter

I want to make a Create/Join group feature in the app where anyone can Create the group and share group ID and let others people to join(By using firebase as backend). How can I achieve something like that. I need some explanation. What do I need to do or to implement?

Just to keep in mind I don’t want to create chat group. This is more like a group that let users do things together like puzzle. Or like quizzes in Kahoot.

Example

I haven’t start to write yet so there won't be any code



Solution 1:[1]

Something i'm actually doing myself though my scenario is a little different as it's more focused on financial groups. I can point you to a resource that's working for me though i'm still figuring it out myself,maybe it'll be of some help to you too(Note:it only shows how to create and join but doesn't go into how to make invites,but i think its a good start)

Source: this video

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Kutlwano Drew