numFrames method

  1. @override
int numFrames()
override

How many frames are available to be decoded. startDecode should have been called first. Non animated image files will have a single frame.

Implementation

@override
int numFrames() => _icoInfo?.numFrames ?? 0;