My Firebase Structure is like this:

[![enter image description here](https://i.stack.imgur.com/7COTD.png)](https://i.stack.imgur.com/7COTD.png)

I want to get 'groupName' list in FirebaseAnimatedList.

How to achive this?

**My current code:**

```
chatGroupNameReference = FirebaseDatabase.instance.reference().child("chat_group_message_user_info").child(widget.user.uid);

body: new Container(
    child: new Flexible(
      child: new FirebaseAnimatedList(
        query: chatGroupNameReference,
        padding: const EdgeInsets.all(8.0),
        defaultChild: Center(child: CircularProgressIndicator(backgroundColor: Colors.deepPurpleAccent,),),
        itemBuilder: (_, DataSnapshot messageSnapshot,
            Animation<double> animation, int index) {

          return Text("Group Name will be here")
        },
      ),
    )
  )
);

```