flutter_html_css_object_fit 0.2.0
flutter_html_css_object_fit: ^0.2.0 copied to clipboard
A flutter_html extension that renders the CSS object-fit and object-position properties on images.
0.2.0 #
- Renamed from
flutter_html_css_object_fit_extensionon pub.flutter-io.cn. The old package stays published and is marked discontinued with this one as its replacement. Class names are unchanged.
0.1.0 #
- Initial release. Adds a
flutter_htmlextension that readsobject-fitandobject-positionfrom an<img>element's inline style, and renders the image with the matchingBoxFitandAlignment.flutter_html3.0.0 hardcodesBoxFit.fillin all three of its image renderers.object-positionaccepts keywords and percentages. A length is dropped, because Flutter'sAlignmentcannot express one.