paintImageFilter method
Implementation
void paintImageFilter(PaintingContext context, Offset offset,
PaintingContextCallback callback) {
if (renderStyle.imageFilter != null) {
_imageFilterLayer.layer ??= ImageFilterLayer();
_imageFilterLayer.layer!.imageFilter = renderStyle.imageFilter;
context.pushLayer(_imageFilterLayer.layer!, callback, offset);
} else {
callback(context, offset);
}
}