EditorExtension<TSourceDocument> class abstract

Product-agnostic capability-composition seam for editor surfaces.

Construction-time configuration is read once, before attach:

actionSpecs is read after attach, once per editor session.

buildProviders and inspectorFieldRowBuilder are build-time hooks and may be read again when the editor surface rebuilds.

Implementers

Constructors

EditorExtension()
const

Properties

actionSpecs → List<EditorActionSpec>
no setter
fieldCodecs → Map<CanvasFieldKey, FieldCodec>
Additional or overriding document field codecs.
no setter
hashCode → int
The hash code for this object.
no setterinherited
inspectorFieldRowBuilder → InspectorFieldRowBuilder?
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scenePreparer → ScenePreparer?
Optional transformation applied after document resolution and before the runtime render pipeline builds its snapshot.
no setter
surfaceFeatures → EditorSurfaceFeatures
Construction-time configuration for the live editor surface.
no setter

Methods

attach(EditorExtensionContext<TSourceDocument> context) → void
buildProviders() → List<SingleChildWidget>
dispose() → void
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