EditorDocumentHost<TSourceDocument> class abstract interface

Canonical document capability for hosted/source-document editors.

Use this when an extension needs to read or update host-owned source state outside the canonical base canvas scene.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → ValueListenable<TSourceDocument>
Listenable canonical source document.
no setter
sourceDocument → TSourceDocument
Current published canonical source document.
no setter

Methods

applySourceEdit(TSourceDocument edit(TSourceDocument document)) → void
Applies a source-document edit that must preserve the canonical base canvas scene.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setResolveContext(Object? context) → void
Updates resolve context used by the adapter/render pipeline.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited