All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Fixed an issue where an empty ImageFade (no placeholder) could cause errors in some layouts
- Added
syncDuration
— if specified will be used for fading in placeholder, error, and synchronously loaded images
- Renamed
fadeDuration
toduration
andfadeCurve
tocurve
- Optimized
loadingBuilder
to useAnimatedBuilder
- Deferred call to
errorBuilder
untilbuild
to avoid context related issues - Switch dependency from
flutter/material
toflutter/widgets
- Fixed an issue with
loadingBuilder
introduced with NNBD - Changed the signature for
loadingBuilder
&errorBuilder
to make them easier to use - Updated the example
- Now uses
Image.opacity
when appropriate for even better performance.
- Updated to be NNBD. Thanks to @maks!
- Now using
FadeTransition
instead ofOpacity
for better performance.
- Support for error handling via
errorBuilder
placeholder
now accepts aWidget
instead of anImageProvider
.- previously loaded images are now faded out after the new image is faded in. Noticeable when a smaller image is loaded over a larger one.
backgroundColor
was removed. Use aplaceholder
with a color instead.
- First release.