flutter_html_css_object_fit 0.2.0 copy "flutter_html_css_object_fit: ^0.2.0" to clipboard
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_extension on 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_html extension that reads object-fit and object-position from an <img> element's inline style, and renders the image with the matching BoxFit and Alignment. flutter_html 3.0.0 hardcodes BoxFit.fill in all three of its image renderers. object-position accepts keywords and percentages. A length is dropped, because Flutter's Alignment cannot express one.
0
likes
160
points
39
downloads

Documentation

API reference

Publisher

verified publisherchaosworld.cc

Weekly Downloads

A flutter_html extension that renders the CSS object-fit and object-position properties on images.

Repository (GitLab)
View/report issues
Contributing

Topics

#flutter-html #css #html #extension #object-fit

License

MPL-2.0 (license)

Dependencies

flutter, flutter_html, html

More

Packages that depend on flutter_html_css_object_fit