LavaKeyFrame class

A keyframe in a Lava animation.

A keyframe contains a reference to a complete image that represents the entire frame, rather than just the differences from the previous frame.

Implemented types

Constructors

LavaKeyFrame({required int imageIndex})
Creates a new LavaKeyFrame with the specified image index.
LavaKeyFrame.fromJson(Map<String, dynamic> json)
Creates a LavaKeyFrame from a JSON object.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
imageIndex int
The index of the image in the LavaManifest.images list that contains this keyframe.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited