ScenePropKind enum
The kinds a property's value can take. Each has one wire spelling here and one file spelling in the tool; a property's kind is what a parameter binding is checked against.
Values
- number → const ScenePropKind
-
A double.
- integer → const ScenePropKind
-
A whole number, or null for "no limit".
- string → const ScenePropKind
-
A string.
- boolean → const ScenePropKind
-
True or false.
- color → const ScenePropKind
-
A SceneColor, nullable where the property can be absent.
- size → const ScenePropKind
-
A size: null for hug, infinity for fill, or a number.
- sizes → const ScenePropKind
-
A list of sizes — a table's column tracks.
- layers → const ScenePropKind
-
A list of TextLayers — a text's paint stack.
- axes → const ScenePropKind
-
A variable font's axes, as a four-letter tag to a number. Its PARTS are the tags, which is what makes one axis a key of its own:
axes.wghtis a number a parameter can fill and a motion can animate, where the map as a whole is neither. - edges → const ScenePropKind
-
SceneEdges: one number when uniform, four named sides when not.
- choice → const ScenePropKind
-
One of a fixed set — an enum, spelled
Type.member. - style → const ScenePropKind
-
A SceneTextStyle — a text's whole typographic treatment, which is a value like any other even though the node stores it as its resolved fields rather than as an object.
- args → const ScenePropKind
-
The arguments of whatever the node stands for, as a map. The only property whose PARTS are not known here: their names come from the child scene's parameters or the widget's declaration.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Constants
-
values
→ const List<
ScenePropKind> - A constant List of the values in this enum, in order of their declaration.