QuillController constructor

QuillController({
  1. required Document document,
  2. required TextSelection selection,
  3. bool keepStyleOnNewLine = true,
  4. ReplaceTextCallback? onReplaceText,
  5. DeleteCallback? onDelete,
  6. void onSelectionCompleted()?,
  7. void onSelectionChanged(
    1. TextSelection textSelection
    )?,
})

Implementation

QuillController({
  required Document document,
  required TextSelection selection,
  this.keepStyleOnNewLine = true,
  this.onReplaceText,
  this.onDelete,
  this.onSelectionCompleted,
  this.onSelectionChanged,
})  : _document = document,
      _selection = selection;