PrecachedImagePainter constructor

const PrecachedImagePainter({
  1. Key? key,
  2. required Image precachedImage,
})

Create a PrecachedImagePainter that uses a precached image. Image will be displayed immediately after the widget is built (without popping in).

Implementation

const PrecachedImagePainter({
  super.key,
  required this.precachedImage,
});