fluent_document library

Classes

CustomStyleHook
A lightweight, functional implementation of RenderStyleHook.
FluentDocument
RenderStyleHook
Abstract base class for rendering style hooks.
SuggestionStyleHook
Hook configuration for suggestion addition and deletion styles.
UndoRedoManager
Undo/Redo system manager using node-level deltas instead of full document snapshots. Memory usage is reduced by 50-100x because only changed top-level nodes are stored.

Enums

SaveStateResult
Result of committing a document saveState operation.

Typedefs

SuggestionTextStyleResolver = TextStyle Function(TextStyle baseStyle, {Fragment? fragment, required bool isDark})
Function signature to resolve text styling for addition or deletion suggestions.