AnimateGroup class

One late final <name> = scene.<node>.animate(…) field.

A group holds the NODE it animates, not its name: in a compiled scene file scene.headline is a typed reference the compiler checks, and a motion pointed at a node the scene does not have is a program that does not build. Nothing resolves anything at play time.

It is also a TimelineExpr in its own right, because the file places it by writing the field — Par([headlineIn, …]) — so there is no third thing standing between a group and its place in the arrangement.

Inheritance

Constructors

AnimateGroup(SceneNode node, {String name = ''})

Properties

duration → Duration
no setter
hashCode → int
The hash code for this object.
no setterinherited
name ↔ String
The group's name — the field it is declared under, and SOURCE-LEVEL only, like a node's. Empty in a compiled motion, filled by the parser, and what the editor shows and the emitter writes.
getter/setter pair
node ↔ SceneNode
The node this group animates.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tracks → Map<String, MotionTrack>
Key → track, non-empty only: Save writes no empty tracks (an always-present empty track is a runtime affordance, not a file one).
final

Methods

copy() → AnimateGroup
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