image_fade 0.5.0
image_fade: ^0.5.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.5.0 - 2022-05-12 #
Changed #
- Fixed an issue with loadingBuilder introduced with NNBD
- Changed the signature for loadingBuilder & errorBuilder to 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.