SceneView class

Inheritance

Constructors

SceneView(SceneDefinition definition, {Key? key, SceneMotion<SceneDefinition>? motion, ValueListenable<Duration>? time, Set<String> selected = const {}, SceneMeasured? onMeasured, Map<String, SceneKindRenderer> renderers = const {}})
Draws a scene an app COMPILED — SceneView(BannerScene()), which is the whole of what mounting one takes.
SceneView.document(SceneDocument scene, {Key? key, Playable? motion, ValueListenable<Duration>? time, Set<String> selected = const {}, SceneMeasured? onMeasured, Map<String, SceneKindRenderer> renderers = const {}})
Draws a document that was READ — parsed from source, or decoded off the editor's wire. There is no definition behind one of those, which is why it is a door of its own rather than the same one.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
motion → Playable?
What animates this scene, bound to it. Mounting one REGISTERS A PLAYHEAD: an export walks it, a test parks it, and previews can photograph the scene at any moment without the app wiring anything.
final
onMeasured → SceneMeasured?
final
renderers → Map<String, SceneKindRenderer>
How a registered kind (SceneKind) is drawn, by the kind's name — the door a renderer the core never imports comes through, the way an external widget's builder does. A kind with no renderer draws a named placeholder, never a silent gap.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scene → SceneDocument
The live document. Edits and fx writes both notify it, and this widget redraws from the RENDERED plane — base composed with every fx writer — so a playing motion and a saved layout are one picture.
final
selected → Set<String>
Names to outline — editor chrome, and empty in a shipped scene.
final
time → ValueListenable<Duration>?
Scene time for what the clock draws — a shader pass's uTime. Null reads the motion's; with neither it is zero.
final

Methods

createElement() → StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → State<SceneView>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() → List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String
Returns a one-line detailed description of the object.
inherited
toStringShort() → String
A short, textual description of this widget.
inherited

Operators

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