How can I create a 3 dot pop-up menu in the Flutter app bar similar to iOS with using a Cupertino package for iOS?

898 Views Asked by At

How to make a 3 dot pop-up menu in the app bar in Flutter like ios. I do not want to use a material package cause developing for ios. Image link below

Image here

I have already tried multiple things like 1. CupertinoContextMenu (CupertinoContextMenuAction) only work on long press(tap) and I don't want that. I want it with a single tap on the user. 2. Wrapped it inside a gesture detector but it does not work. 3. Used modal sheet but I don't want it like that. I want just a popup menu

Please tell me if there are any methods to Trigger CupertinoContextMenuAction with a single tap or any different methods that will also help

Thanks.

1

There are 1 best solutions below

1
Andrey Gordeev On BEST ANSWER

Unfortunately, you need to take the code of _ContextMenuRoute and adapt it to your needs.

Or use pull_down_button package

enter image description here