SceneComponent class Scene graph

Marks a class extending Component as a serializable scene component carrying document type tag type.

Constructors

SceneComponent(String type, {String? doc, String? icon, List<String> formerTypes = const []})
const

Properties

doc String?
A short description shown in editors; the class doc comment when null.
final
formerTypes List<String>
Prior type tags, accepted when loading older documents.
final
hashCode int
The hash code for this object.
no setterinherited
icon String?
An optional editor icon hint (an emoji or a named glyph).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
The component type tag used in documents.
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