AssetProperty class Scene graph

A source-path asset reference property, carried as the asset key string. extensions lowers to an AssetExtensions constraint.

Inheritance

Constructors

AssetProperty({List<String> extensions = const [], String? group, List<String> formerNames = const [], bool transient = false, List<PropertyConstraint<Object>> extra = const []})
const

Properties

extensions List<String>
Picker file extensions (with leading dots).
final
extra List<PropertyConstraint<Object>>
Additional declared constraints beyond the named arguments.
final
formerNames List<String>
Prior names of this property, accepted when loading older documents.
finalinherited
group String?
The collapsible inspector section this property belongs to.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transient bool
Schema-visible but never persisted (runtime state, or code-provided).
finalinherited

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