PaintImageCallback typedef Null safety

void PaintImageCallback(
  1. ImageSizeInfo
)

Called when the framework is about to paint an Image to a Canvas with an ImageSizeInfo that contains the decoded size of the image as well as its output size.

See: debugOnPaintImage.

Implementation

typedef PaintImageCallback = void Function(ImageSizeInfo);