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() => info != null ? info!.images.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() => info != null ? info!.images.length : 0;