SceneBindSources class

What can drive key on node: the sources a bind menu offers, and whether a parameter can be made of it.

One query, because "what may fill this" is one question. It used to be three list comprehensions written out at the menu, keyed on bindableKind — which meant a property no PARAMETER could hold offered nothing at all, even where a token could hold it. A text's style is exactly that case: no parameter can be a text style, and two kinds of token can.

Constructors

SceneBindSources({List<SceneParamDecl> params = const [], List<SceneTokenDecl> tokens = const [], List<SceneTokenDecl> exports = const [], bool canPromote = false})
const

Properties

canPromote → bool
Whether "make a parameter of this" is possible. A scene parameter has to be able to HOLD the value, and only some types can be one.
final
exports → List<SceneTokenDecl>
The app's own values of this type. The editor holds none of them; the canvas draws what the guest resolves.
final
hashCode → int
The hash code for this object.
no setterinherited
isEmpty → bool
no setter
params → List<SceneParamDecl>
Parameters of this scene whose type fits.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tokens → List<SceneTokenDecl>
The package's shared values of this type — the editor holds these.
final

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