OnLoading typedef

OnLoading = Widget Function(BuildContext context, int? height, int? width)

Builder function to create a placeholder widget while the image is loading

Implementation

typedef OnLoading = Widget Function(
  BuildContext context,
  int? height,
  int? width,
);