TextCommandResult constructor

const TextCommandResult({
  1. List<String>? graphemes,
  2. required int cursorOffset,
  3. int? selectionBaseOffset,
  4. int? selectionExtentOffset,
  5. TextDocument? document,
  6. TextDocumentChange? documentChange,
  7. bool changed = true,
})

Implementation

const TextCommandResult({
  List<String>? graphemes,
  required this.cursorOffset,
  this.selectionBaseOffset,
  this.selectionExtentOffset,
  this.document,
  this.documentChange,
  this.changed = true,
}) : _graphemes = graphemes;