How can I create this dropdown menu for appbar user profile icon, in Flutter?
I'm using Material 3.
This is an example from Atlassian pages.
- Different sections (Account / Recent workspaces / etc) (green marks)
- Titles for sections (yellow marks)
- Account information not clickable (blue mark)
I tried to achieve this using MenuAnchor and MenuButtonItem classes, but I can't create sections, dividers, and not clickable containers.
I expect to find some package to help me create this kind of dropdown menu, or who can help me to create it manually using Flutter widgets.


You should look up MenuAnchor. There is no need to use external libraries for this.
The example in the Flutter documentation is a bit complex because it shows a lot of possible configurations you can have on this type of menu, from listing the menu items with an enum list, to setting action shortcuts, with state changes or controllers.
But you can create your own simpler version using your own widgets, and without most of the items in the example, just by creating a MenuAnchor with MenuItemButton or SubmenuButton
Here is a full code example. Just notice that you can replace every Text Widget with a custom widget as you wish.
edit: Updated the code with a more accurate version. Some UI can still be done to make it look more like the example, but the core structure is already like the OP describes.