ImageResolver typedef
Resolves an ImageNode.imageId to a decoded Image instance.
This callback is invoked during painting, so it must be synchronous, fast, and side-effect free.
Return null when the image is not available yet; the painter renders a
placeholder.
Implementation
typedef ImageResolver = Image? Function(String imageId);