image_fade 0.6.0
image_fade: ^0.6.0 copied to clipboard
A widget that displays a placeholder and optional progress indicator while an image loads, then cross-fades to the loaded image. Improves on FadeInImage.
Changelog #
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.
0.6.0 - 2022-05-14 #
Added #
- Added
syncDuration— if specified will be used for fading in placeholder, error, and synchronously loaded images
Changed #
- Renamed
fadeDurationtodurationandfadeCurvetocurve - Optimized
loadingBuilderto useAnimatedBuilder - Deferred call to
errorBuilderuntilbuildto avoid context related issues - Switch dependency from
flutter/materialtoflutter/widgets
0.5.0 - 2022-05-12 #
Changed #
- Fixed an issue with
loadingBuilderintroduced with NNBD - Changed the signature for
loadingBuilder&errorBuilderto make them easier to use - Updated the example
0.2.0 - 2019-07-29 #
Added #
- Support for error handling via
errorBuilder
Changed #
placeholdernow accepts aWidgetinstead 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.
Removed #
backgroundColorwas removed. Use aplaceholderwith a color instead.