• fzyzcjy's avatar
    Allow users to provide route settings to `showMenu` (#124935) · 00bbf543
    fzyzcjy authored
    Background: I am adding logging to things like dialogs, bottom sheets and menus. Then I realized that, showMenu does not allow users to provide RouteSettings, while showDialog and showModalBottomSheet both allow. Therefore, IMHO a consistent API design may need to add this to showMenu.
    
    I will add tests if this proposal looks OK :)
    00bbf543
popup_menu.dart 49 KB