QuillController constructor

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

Implementation

QuillController({
  required this.document,
  required TextSelection selection,
  bool keepStyleOnNewLine = false,
  this.onReplaceText,
  this.onDelete,
  this.onSelectionCompleted,
})  : _selection = selection,
      _keepStyleOnNewLine = keepStyleOnNewLine;