ImageFadeLoadingBuilder typedef

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.

Implementation

typedef ImageFadeLoadingBuilder = Widget Function(
  BuildContext context,
  double progress,
  ImageChunkEvent? chunkEvent,
);