Flipbook class final

A grid of frames, played across a particle's life.

Constructors

Flipbook({required int columns, required int rows, int? frames, int loops = 1})

Properties

columns → int
final
frameCount → int
no setter
frames → int?
How many cells are actually used, or null for all of them.
final
hashCode → int
The hash code for this object.
no setterinherited
loops → int
How many times the sequence plays over the particle's life.
final
rows → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

cellFor(Particle particle) → FlipbookCell
The cell particle is showing, from how far through its life it is.
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