handleDelete method

void handleDelete(
  1. int cursorPosition,
  2. bool forward
)

Called in two cases: forward == false && textBefore.isEmpty forward == true && textAfter.isEmpty Android only see https://github.com/singerdmx/flutter-quill/discussions/514

Implementation

void handleDelete(int cursorPosition, bool forward) => onDelete?.call(cursorPosition, forward);