SceneNode class sealed
- Implementers
- Available extensions
Properties
-
bindings
→ Map<
String, SceneBinding> -
Where each property's value comes from, when it is not a literal:
property key → SceneBinding.
final
- borderColor ↔ SceneColor?
-
A line around the node, or none. Two fields rather than one value,
because the file's vocabulary is flat named arguments and a
Border(...)would be a construct the grammar does not have.getter/setter pair - borderWidth ↔ double
-
getter/setter pair
-
children
→ List<
SceneNode> -
no setter
- corner ↔ double
-
getter/setter pair
- corners ↔ SceneCorners
-
The corner radii.
cornerreads and writes them as one number — what they are for most nodes.getter/setter pair - fill ↔ SceneColor?
-
getter/setter pair
-
fx
→ Map<
(Object, String), Object> -
The evaluated plane: per-frame contributions composed OVER the
authored values above, keyed by (writer, property) in writer-stack
order — the order is normative (× does not bit-commute). Motion lanes
and app Effects write here; Save never reads it; a cancelled writer
clears its own entries and the authored value was never touched.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height ↔ double?
-
getter/setter pair
- heightFills → bool
-
no setter
- maxHeight ↔ double?
-
getter/setter pair
- maxWidth ↔ double?
-
getter/setter pair
- measured ↔ SceneRect?
-
Laid-out rect in artboard coordinates, swept after each frame by
whichever renderer measured it.
getter/setter pair
- minHeight ↔ double?
-
getter/setter pair
- minWidth ↔ double?
-
Bounds on the laid-out size, when a node has them: a card no narrower
than its title, a column no wider than a line of reading. Null is no
bound.
getter/setter pair
- name ↔ String
-
The node's identity — the field name in the file, and SOURCE-LEVEL
ONLY. A compiled scene leaves it empty: Dart has no field-name
reflection, and at runtime a node's identity is the object, which is
what makes
scene.headlinea typed reference rather than a lookup. The editor, which parsed the source, is what fills this in.getter/setter pair - opacity ↔ double
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- typeName → String
-
no setter
- visible ↔ bool
-
Whether the node is drawn and laid out at all. Not opacity zero: a
hidden node takes no room in a row, and a column closes over it. The
boolean a component most often exposes — show the badge, hide the
footer — which is why it is a property and not an effect.
getter/setter pair
- width ↔ double?
-
Size along each axis, three-valued in one field:
getter/setter pair
- widthFills → bool
-
Whether this node takes what the parent gives along each axis.
no setter
- x ↔ double
-
getter/setter pair
- y ↔ double
-
getter/setter pair
Methods
-
animate(
{MotionTrack? opacity, MotionTrack? translateX, MotionTrack? translateY, MotionTrack? scale, MotionTrack? rotate}) → AnimateGroup -
Available on SceneNode, provided by the SceneNodeAnimate extension
-
clearFxWriter(
Object writer) → void -
effect(
) → Effect - Mint an app-side fx writer. Handles are the only app surface — two independent effects on one property compose instead of colliding, and clearing one leaves the others (sketch 25).
-
fxRendered(
String prop) → Object - The composed value the renderer should draw: authored base folded with every contribution through the derived operator table — opacity and scale multiply, translations and rotation add, everything else replaces in stack order.
-
hasFx(
String prop) → bool -
Whether any writer currently contributes to
prop— the renderer asks this where the authored value's absence means something (a null fill draws no decoration; a composed fill draws one). -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeFx(
Object writer, String prop) → void -
toString(
) → String -
A string representation of this object.
inherited
-
writeFx(
Object writer, String prop, Object value) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited