image_fade library
Classes
- ImageFade
- A widget that displays a placeholder widget while a specified image loads, then cross-fades to the loaded image. Can optionally display loading progress and errors.
Typedefs
- ImageFadeErrorBuilder = Widget Function(BuildContext context, Object exception)
- Signature used by ImageFade.errorBuilder to build the widget that will be displayed if an error occurs while loading an image.
- ImageFadeLoadingBuilder = Widget Function(BuildContext context, double progress, ImageChunkEvent? chunkEvent)
-
Signature used by ImageFade.loadingBuilder to build the widget that will be displayed
while an image is loading.
progress
returns a value between 0 and 1 indicating load progress.