• Ian Hickson's avatar
    Popup menus RTL (#13110) · 34ba6be9
    Ian Hickson authored
    This fixes the popup menu code to do a better job of expanding
    smoothly regardless of which side of the screen it's on. It still
    results in a bidirection growth when positioned at the bottom of the
    screen, so maybe we'll need to animate menus differently, but that's
    a problem for another patch.
    
    Also, improve some docs and provide RelativeRect.toSize which I needed
    at one point while building this patch (though it didn't survive all
    the way to the end).
    34ba6be9
popup_menu.dart 28.5 KB