LoadingBuilder typedef

Widget LoadingBuilder (
  1. BuildContext context,
  2. ImageChunkEvent event
)

A type definition for a callback to show a widget while the image is loading, a ImageChunkEvent is passed to inform progress

Implementation

typedef LoadingBuilder = Widget Function(
  BuildContext context,
  ImageChunkEvent event,
);