animation method
One row of the grid, or a span of one, played at fps.
Implementation
SpriteAnimation animation({
int? row,
int? start,
int? end,
required double fps,
bool? loop,
}) {
return SpriteAnimation(
asset,
cell,
row: row ?? 0,
start: start,
end: end,
fps: fps,
loop: loop,
);
}