• Adam Barth's avatar
    AspectRatio should attempt to fit its height · 6a54e122
    Adam Barth authored
    If there's not enough height for the given aspect ratio, we now try to see if
    using the height to infer the width will fit the given constraints. The
    algorithm we use is similar to the one we use for RenderImage.
    
    Fixes #2620
    6a54e122
aspect_ratio_test.dart 1.7 KB