• 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
..
lib Loading commit data...
test Loading commit data...
test_fixes Loading commit data...
test_private Loading commit data...
test_profile Loading commit data...
test_release Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
analysis_options.yaml Loading commit data...
build.yaml Loading commit data...
dart_test.yaml Loading commit data...
pubspec.yaml Loading commit data...