SuggestionProvider class abstract
Abstract interface for a suggestion / tracked changes system.
The FluentDocument holds an optional instance. When set, exporters (DOCX, ODT, etc.) and renderers can query tracked additions and deletions with full metadata.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- styleHook → SuggestionStyleHook
-
Hook configuration for suggestion addition and deletion styles.
no setter
-
suggestionsChanged
→ Stream<
void> -
Stream emitting whenever suggestions change.
no setter
Methods
-
exportSuggestions(
) → List< Map< String, dynamic> > - Export all pending suggestions as serialized maps: 'id' -> String 'nodeId' -> String 'startOffset' -> int 'endOffset' -> int 'type' -> String ('addition' | 'deletion') 'authorName' -> String 'text' -> String 'createdAt' -> String / DateTime
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
suggestionsForNode(
String nodeId) → List< Map< String, dynamic> > -
Returns pending suggestions for
nodeId. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited