SceneDefinition class abstract
What a .scene.dart class extends — the seam between a scene as Dart and
a scene as a document.
The generated file is a REAL Dart file: it compiles, it analyzes, and an
app instantiates it with typed arguments. The class declares its nodes as
late final fields and names one of them root; this turns that into
the document every other surface consumes.
Nothing here reads a name. A node's identity at runtime is the OBJECT —
which is what lets a motion say scene.headline and have the compiler
check it — and the field names live only in the source, where the editor
reads them.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- root → FrameNode
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scene → SceneDocument
-
This definition as a document, built once.
latefinal
Methods
-
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