Home > Blockchain >  Flutter UI Create menu with function after click icon more
Flutter UI Create menu with function after click icon more

Time:01-11

Halo,

First, I wanna show you my current UI :

enter image description here

And here's the code for red circle function :

InkWell(
  onTap: null,
  child: Icon(Icons.more_horiz,
    size: 18,
    color: Color.fromRGBO(0, 0, 0, 0.25),
  ),
),

What action I needed is to show pop-up menu like this after click the icon, for example :

enter image description here

I need that to create edit and delete with function to navigate to another page, and need to know how to control menu position.

I already check on pub.dev, but it didn't resolve my problem. Can anyone give me an advice?

CodePudding user response:

Try this code : the package is here : enter image description here

CodePudding user response:

You can try using PopupMenuButton you can find here an image

  • Related