StageFrame class

One moment, as a stage sees it.

Constructors

StageFrame({required Image? screen, required Size screenSize, required Duration at, required Offset? pointer, required bool down, required double? sincePress, required bool touch, List<CueSpan> cues = const []})
const

Properties

at → Duration
Where this frame sits in the reel.
final
cues → List<CueSpan>
What the reel is saying over this stretch of output, with the span of each — so a stage can draw a caption fading in from where it is inside one. Empty for a film with no reel.
final
down → bool
final
hashCode → int
The hash code for this object.
no setterinherited
pointer → Offset?
Where the finger or the pointer is, in the app's logical pixels, or null before anything has been touched.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
screen → Image?
The app's own frame, rasterised at the film's scale. Null before the first one — a stage drawing a title card over nothing.
final
screenSize → Size
The app's size in logical pixels. What Screen draws screen at, and what a camera's rects are in.
final
sincePress → double?
Seconds since the press began, or null before the first one — what a ripple is drawn from.
final
touch → bool
Whether the stage is touched or pointed at. The device's answer, never a setting: an arrow on a phone is showing something that never happens.
final

Methods

cue<T>() → CueSpan?
The live cue of type T, or null.
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