• 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
..
animation Loading commit data...
cupertino Loading commit data...
dart Loading commit data...
examples Loading commit data...
foundation Loading commit data...
gestures Loading commit data...
harness Loading commit data...
material Loading commit data...
painting Loading commit data...
physics Loading commit data...
rendering Loading commit data...
scheduler Loading commit data...
semantics Loading commit data...
services Loading commit data...
widgets Loading commit data...
_goldens_io.dart Loading commit data...
_goldens_web.dart Loading commit data...
analysis_options.yaml Loading commit data...
flutter_test_config.dart Loading commit data...
image_data.dart Loading commit data...