QuillController constructor
QuillController({
- required Document document,
- required TextSelection selection,
- QuillControllerConfig config = const QuillControllerConfig(),
- bool keepStyleOnNewLine = true,
- ReplaceTextCallback? onReplaceText,
- DeleteCallback? onDelete,
- void onSelectionCompleted()?,
- void onSelectionChanged(
- TextSelection textSelection
- bool readOnly = false,
Implementation
QuillController({
required Document document,
required TextSelection selection,
this.config = const QuillControllerConfig(),
this.keepStyleOnNewLine = true,
this.onReplaceText,
this.onDelete,
this.onSelectionCompleted,
this.onSelectionChanged,
this.readOnly = false,
}) : _document = document,
_selection = selection;