copyCrop method Null safety
Crop the underlying image.
Implementation
Painter copyCrop(int x, int y, int w, int h) => Painter.fromDecodedImage(
img.copyCrop(
_decodedBytes!,
x: x,
y: y,
width: w,
height: h,
),
);