Modify DropdownMenu has a widget instead of just a simple markup
components. This will allow adjustment of menu width to be the same
width of the button and also been able to call a function