image_fade 0.1.0 copy "image_fade: ^0.1.0" to clipboard
image_fade: ^0.1.0 copied to clipboard

outdated

A widget that displays a placeholder and optional progress indicator while an image loads, then cross-fades to the loaded image. Improves on FadeInImage.

ImageFade #

Requires Flutter 1.6.7 or higher.

A widget for Flutter that displays a placeholder image while a specified image loads, then cross-fades to the loaded image.

If image is changed, it will cross-fade to the new image once it is finished loading. Setting image to null will cross-fade back to the placeholder.

example image

You can set color (background color), fadeDuration and fadeCurve, as well as most Image properties: width, height, fit, alignment, repeat, matchTextDirection, excludeFromSemantics and semanticLabel.

You can also specify a loadingBuilder that will display load progress any time a new image is loaded.

Example #

See the example directory for a simple example.

77
likes
0
pub points
94%
popularity

Publisher

verified publishergskinner.com

A widget that displays a placeholder and optional progress indicator while an image loads, then cross-fades to the loaded image. Improves on FadeInImage.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on image_fade