• Todd Volkert's avatar
    Add ResizeImage.policy (#121154) · 71c45709
    Todd Volkert authored
    * Add ResizeImage.policy
    
    This adds a new `ResizeImage.policy` property that controls how `ResizeImage`
    will interpret its `width` and `height` properties. The existing behavior is
    preserved via `ResizeImagePolicy.exact` (default), but there is now the option
    to use `ResizeImagePolicy.fit`, which satisfies the use case outlined in
    flutter/flutter#118543.
    
    The API doc assets were added in flutter/assets-for-api-docs#209
    
    Fixes flutter/flutter#118543
    
    * Docuemnt public member
    
    * Remove protected annotation from overrides - was failing tests
    
    * Fixed analysis of code in Dartdoc
    
    * More dartdoc code analysis fixes
    
    * One more fix
    
    * Review comments
    71c45709
Name
Last commit
Last update
.github Loading commit data...
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.ci.yaml Loading commit data...
.cirrus.yml Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CODEOWNERS Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
PATENT_GRANT Loading commit data...
README.md Loading commit data...
TESTOWNERS Loading commit data...
analysis_options.yaml Loading commit data...
dartdoc_options.yaml Loading commit data...
flutter_console.bat Loading commit data...