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