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