ReelStage class abstract
What a reel is drawn through.
The film renders the app and nothing else. A stage is the picture around
it: the cursor, a caption, a frame, a camera, a second device beside it.
It is an ordinary widget tree, so it lays out with Row and reads its type
from a theme like anything else, and the app's frame is one widget in it —
Screen.
Why a tree and not a canvas: the moment a stage can zoom, a cursor painted
onto the app's pixels grows with the app, and a caption hand-laid on a
canvas is a TextPainter and a stack of offsets. Both are free here.
- Implementers
Constructors
- ReelStage()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
before(
StageFrame frame) → void - Called with the moment before the tree is pumped for it.
-
build(
StageFrame frame) → Widget - The picture at this moment.
-
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.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited