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<
The document that the edit is for.T> , provided by the CustomDocumentEditEvent$Typings extensionno setter - hashCode → int
-
The hash code for this object.
no setterinherited
- label → String?
-
Available on CustomDocumentEditEvent<
Display name describing the edit.T> , provided by the CustomDocumentEditEvent$Typings extensionno setter -
redo
↔ FutureOr<
void> Function() -
Available on CustomDocumentEditEvent<
T> , provided by the CustomDocumentEditEvent$Typings extensiongetter/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 extensiongetter/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