collate method

Future<Image> collate(
  1. int cellsPerRow

Returns an result image by putting all frames together in a table.

This method returns an image that arranges the captured frames in a table, which has cellsPerRow images per row with the order from left to right, top to bottom.

The result image of this method is managed by AnimationSheetBuilder, and should not be disposed by the caller.

An example of using this method can be found at AnimationSheetBuilder.


Future<ui.Image> collate(int cellsPerRow) async {
    'No frames are collected. Have you forgot to set `recording` to true?');
  final _AsyncImage result = _AsyncImage(_collateFrames(_recordedFrames, frameSize, cellsPerRow));
  return result.result();