• Ian Hickson's avatar
    Factor out debugPaintPadding and test it (#7598) · 58348612
    Ian Hickson authored
    I plan to use this to implement similar logic in SliverPadding.
    
    To make this easier to test I extended the paints matcher to accept a
    function that takes a canvas. While I was at it I also made it accept
    a Finder, it'll go and find the render object for you.
    
    Also added support for paints..path and fixed some grammar in the
    error messages.
    
    Also improved the docs for debugPaint*.
    58348612
mergeable_material_test.dart 33.9 KB