• 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
Name
Last commit
Last update
.idea Loading commit data...
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.analysis_options Loading commit data...
.analysis_options_repo Loading commit data...
.analysis_options_user Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
ISSUE_TEMPLATE.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
VERSION Loading commit data...