frameCount property

  1. @override
int frameCount
getter/setter pairoverride

Number of frames in the image.

Always 1 for static images. Greater than 1 for animated formats such as GIF.

Do not modify directly after native loading. Use structUpdateFrameCount so backend implementations can resynchronize memory-dependent state such as data.

Implementation

@override
int frameCount = 1;