image_fade
A widget that displays a placeholder and optional progress indicator while an image loads, then cross-fades to the loaded image. Improves on FadeInImage. Compatible with CachedNetworkImageProvider.
0.6.2
5.6K downloads/mo
#3677 most downloaded on pub.dev
gskinner/image_fade
What this package is like to depend on
Last release 4 years ago
no release in 18 months
Ships unpredictably
gaps range from 2 weeks to 2.6 years
Nearly every release is documented
notes for 9 of 9 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
9 releases · first in 2019
0 releases in the last 12 months
see the full history below
Release timeline
9 releases · Jul 2019 to Dec 2022Releases
latest 9-
0.6.220 Dec 2022 -
0.6.115 May 2022Release notes
Open source →Fixed an issue where an empty ImageFade (no placeholder) could cause errors in some layouts
Release notes
Open source →Changed
- Fixed an issue where an empty ImageFade (no placeholder) could cause errors in some layouts
-
0.6.014 May 2022Release notes
Open source →Added syncDuration. Renamed fadeDuration to duration and fadeCurve to curve. Optimized loadingBuilder, and resolved context related issues with errorBuilder.
Release notes
Open source →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
- Added
-
0.5.012 May 2022Release notes
Open source →Fix an issue with loadingBuilder. Modified signatures for loadingBuilder and errorBuilder to make them easier to use. Code cleanup. Updated example.
Release notes
Open source →Changed
- Fixed an issue with
loadingBuilderintroduced with NNBD - Changed the signature for
loadingBuilder&errorBuilderto make them easier to use - Updated the example
- Fixed an issue with
-
0.4.007 Apr 2022Release notes
Open source →Changed
- Now uses
Image.opacitywhen appropriate for even better performance.
- Now uses
-
0.3.023 Mar 2022 -
0.2.102 Sep 2019Release notes
Open source →Changed
- Now using
FadeTransitioninstead ofOpacityfor better performance.
- Now using
-
0.2.029 Jul 2019Release notes
Open source →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.
- Support for error handling via
-
0.1.023 Jul 2019