MountedStage class

A stage, mounted once and pumped per frame.

Mounted once because a build is the expensive half: the tree is the same tree every frame, and what changes is one StageFrame handed down an inherited widget. Nothing here goes near the binding — the app's own tree is the binding's, and a stage that shared it would put its captions where a finder could match them.

Constructors

MountedStage(ReelStage stage, {required Size screenSize, required double scale, required bool touch})

Properties

errors → List<FlutterErrorDetails>
What the framework caught while building the stage. A throwing stage renders as Flutter's error box and would otherwise be a clean-looking success.
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scale → double
Output pixels per logical pixel.
final
screenSize → Size
The app's frame in logical pixels.
final
size ↔ Size
The output's size in logical pixels — what ReelStage.sizeFor answered.
latefinal
stage → ReelStage
final
touch → bool
final

Methods

dispose() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render(StageFrame frame) → Image
Draws one moment.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited