QuillController constructor

QuillController({
  1. required Document document,
  2. required TextSelection selection,
  3. bool keepStyleOnNewLine = false,
  4. ReplaceTextCallback? onReplaceText,
  5. DeleteCallback? onDelete,
  6. void onSelectionCompleted()?,
  7. void onSelectionChanged(
    1. 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;