CustomDocumentEditEvent<T extends CustomDocument> class

Event triggered by extensions to signal to the editor that an edit has occurred on an {@linkcode CustomDocument}.

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

CustomDocumentEditEvent({CustomDocument? document, String? label, FutureOr<void> undo()?, FutureOr<void> redo()?})
factory

Properties

document → T

Available on CustomDocumentEditEvent<T>, provided by the CustomDocumentEditEvent$Typings extension

The document that the edit is for.
no setter
hashCode int
The hash code for this object.
no setterinherited
label String?

Available on CustomDocumentEditEvent<T>, provided by the CustomDocumentEditEvent$Typings extension

Display name describing the edit.
no setter
redo FutureOr<void> Function()

Available on CustomDocumentEditEvent<T>, provided by the CustomDocumentEditEvent$Typings extension

getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
undo FutureOr<void> Function()

Available on CustomDocumentEditEvent<T>, provided by the CustomDocumentEditEvent$Typings extension

getter/setter pair

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