Skip to main content

octo_image 2.1.4 copy "octo_image: ^2.1.4" to clipboard
octo_image: ^2.1.4 copied to clipboard

A multifunctional Flutter image widget. Supports placeholders, error widgets and image transformers with fading.

2.1.4 - 2026-11-09 #

  • Fix gaplessPlayback keeping every previous image alive. At most one previous image is kept: the last one that was shown. This changes what fast swaps show. If the image changes again before the new one has shown, that image is skipped: the last image that was shown stays until the newest one loads, even if the skipped image finishes loading first. If the first image changes before it has shown, the placeholder or progress indicator is shown instead of that image.

2.1.3 - 2026-10-29 #

  • Dispose FadeWidget's CurvedAnimation, which leaked on every fade.
  • A fade curve or duration changed while the same child is fading, such as a new fadeOutCurve passed to OctoImage, now applies to that fade. Before, it was ignored. A new curve can make the opacity jump for one frame.

2.1.2 - 2026-09-29 #

  • Update flutter_lints to 6.0.0 in the package and the example app.
  • Update the example app's http dependency to 1.6.0.

2.1.1 - 2026-09-23 #

  • Fix the README build badge and demo image, which pointed at a retired CI service and a branch that no longer exists.
  • Fix the example app's SDK and flutter_lints constraints, which excluded every SDK the package supports.
  • Update the example app's Android build to AGP 9.
  • Pin the Flutter version used in CI and move the repository to a main-only branching model.

2.1.0 - 2024-08-01 #

  • Raise the minimum SDK to Dart 3.0 and Flutter 3.10.
  • alignment accepts AlignmentGeometry, so AlignmentDirectional can be used.
  • Fix the fading-out widget never being removed when fadeOutDuration is Duration.zero (issue 34).

2.0.0 - 2023-09-25 #

  • Remove Blurhash dependency, see in the readme how to keep using blurhash.

1.0.2 - 2022-05-16 #

  • Update Blurhash dependency

1.0.1 - 2021-11-30 #

  • Fix gapless playback when next image is already in memory.

1.0.0+1 - 2021-04-02 #

  • Remove unused import

1.0.0 - 2021-03-27 #

  • Fixes "Cannot clone a disposed image" error
  • Migration to nullsafety

1.0.0-nullsafety.1 - 2021-01-15 #

  • Re-enabled blurhash features.

1.0.0-nullsafety.0 - 2021-01-14 #

  • NNBD migrated version
  • (Temporarily) removed blurhash feature.

0.3.0 - 2020-09-07 #

  • Fixed bug when fitting placeholders or error widgets.
  • BREAKING: Doesn't automatically center placeholders and error widgets anymore.

0.2.1 - 2020-06-04 #

  • Make whole widget, including placeholder and error widgets, adhere to the height and width set.

0.2.0 - 2020-05-28 #

  • Made gaplessPlayback fade from one image to the next

0.1.1 - 2020-05-20 #

  • Update dependency for blurHash

0.1.0 - 2020-05-14 #

  • Removed headers as they are not used for anything
  • Added gaplessPlayback, works just like in Image: it keeps the old image visible when a new image is being loaded by the same widget.
  • Changed how default parameter values work preventing setting them to null.

0.0.1 - 2020-05-08 #

  • Initial release with already lots of great features :)
767
likes
160
points
4.24M
downloads

Documentation

API reference

Publisher

verified publisherbaseflow.com

Weekly Downloads

A multifunctional Flutter image widget. Supports placeholders, error widgets and image transformers with fading.

Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

flutter

More

Packages that depend on octo_image