SceneStage class
A stage that is a scene: a document built by an edit, with a motion over it, drawn by the same view the editor draws.
The picture is a scene, so it lays out, styles and nests the way every
scene does; the timing is a Playable, so it composes with Par, Seq,
At and Speed the way every motion does; and the app is one node in it
— ScreenArgs — placed and animated like any other. There is no second
animation model and no second layout model.
Constructors
- SceneStage(SceneDocument scene, {Playable? motion})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- motion → Playable?
-
The motion over scene, already bound to it, in reel time.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scene → SceneDocument
-
final
Methods
-
before(
StageFrame frame) → void -
Parks the motion at the frame's moment.
override
-
build(
StageFrame frame) → Widget -
The picture at this moment.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sizeFor(
Size screen) → Size -
How big the output is, given the app's own frame in logical pixels.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited