AnimatedImageProvider.fromFrames constructor

AnimatedImageProvider.fromFrames(
  1. List<Frame> frames, {
  2. int loopCount = 1,
  3. String? id,
})

Implementation

AnimatedImageProvider.fromFrames(List<Frame> frames,
    {int loopCount = 1, String? id})
    : _data = FramesData(frames, loopCount),
      id = id ?? _generateId();