numFrames method
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() => exrImage != null ? exrImage!.parts.length : 0;
How many frames are available to be decoded. startDecode should have been called first. Non animated image files will have a single frame.
@override
int numFrames() => exrImage != null ? exrImage!.parts.length : 0;