Codec class Null safety
A handle to an image codec.
This class is created by the engine, and should not be instantiated or extended directly.
To obtain an instance of the Codec interface, see instantiateImageCodec.
Properties
- frameCount → int
-
Number of frames in this image.
read-only
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- repetitionCount → int
-
Number of times to repeat the animation.
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
dispose(
) → void - Release the resources used by this object. The object is no longer usable after this method is called.
-
getNextFrame(
) → Future< FrameInfo> - Fetches the next animation frame.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited