timed method

SpriteAnimation timed(
  1. List<double> durations, {
  2. int? row,
  3. int? start,
  4. bool? loop,
})

One row of the grid, holding each frame for its own number of seconds.

Implementation

SpriteAnimation timed(
  List<double> durations, {
  int? row,
  int? start,
  bool? loop,
}) {
  return SpriteAnimation.timed(
    asset,
    cell,
    durations,
    row: row ?? 0,
    start: start,
    loop: loop,
  );
}