I created a popup menu button in Flutter and changed the corner radius of the menu. Now when I touch one of the buttons, the corners of the highlight color remain outside. Is there any way I can change this color or change its radius?
The situation I mentioned is as in the picture.

>Solution :
You can use RoundedRectangleBorder as its shape and set the clipBehavior to either Clip.antiAlias or Clip.hardEdge.
PopupMenuButton(
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(30)),
clipBehavior: Clip.antiAlias, // or Clip.hardEdge
// ...
)
