InspectorMotion class final

One resolved animation as the inspector shows it: who animates (ownerId), what it is called (label), when it plays (phase), the absolute frame span it occupies, and the jumpFrame the preview seeks to when the row is tapped.

A pure value with full equality — the inspector's motion rows compare, snapshot, and golden-test directly. It mirrors a TimelineRow plus the one derived field an inspector UI needs: jumpFrame (the span start).

Annotations

Constructors

InspectorMotion({required String ownerId, required AnimationPhase phase, required int startFrame, required int endFrame, String? label})
Creates a motion row; label is null for an unlabelled animation.
const

Properties

durationFrames int
How many frames the span covers: endFrame - startFrame.
no setter
endFrame int
The absolute video frame the span ends on (exclusive).
final
hashCode int
The hash code for this object.
no setteroverride
jumpFrame int
The frame "jump to motion" seeks the preview to — the span start.
no setter
label String?
The animation's diagnostic label, or null when it has none.
final
ownerId String
The owning element's stable identifier (s<scene>e<order>:<owner>).
final
phase AnimationPhase
When the animation plays within its element's window.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startFrame int
The first absolute video frame of the span (inclusive).
final

Methods

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

Operators

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