I have a GestureDetector and at the onPressed I have a showMenu, but I can't make the menu close to the button that I've created.

Here is my code: note that I've already used RelativeRect.fill for the position just to run the app.
ElevatedButton(
style: ElevatedButton.styleFrom(
primary: ColorConstants.kContainerColor,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(10),
),
),
onPressed: (){
showMenu(context: context, position: RelativeRect.fill, items: [
PopupMenuItem(child: Text('hello')),
PopupMenuItem(child: Text('hello')),
PopupMenuItem(child: Text('hello')),
PopupMenuItem(child: Text('hello')),
]);
}, child: Padding(
padding: const EdgeInsets.all(12),
child: SvgPicture.asset('images/menubar.svg',
color: Colors.white,
height: 27,
width: 27,)
)),