cut method
One Rect per frame, against the image the cache holds now.
Implementation
List<Rect> cut() {
final cell = this.cell;
final width = cell.x;
final height = cell.y;
final top = row * height;
return List.generate(
frames,
(frame) => Rect.fromLTWH(
(start + frame) * width,
top,
width,
height,
),
growable: false,
);
}