doubleTapInParagraph method

Future<void> doubleTapInParagraph(
  1. String nodeId,
  2. int offset, {
  3. TextAffinity affinity = TextAffinity.downstream,
  4. Finder? superEditorFinder,
})

Simulates a double tap at the given offset within the paragraph with the given nodeId.

Implementation

Future<void> doubleTapInParagraph(
  String nodeId,
  int offset, {
  TextAffinity affinity = TextAffinity.downstream,
  Finder? superEditorFinder,
}) async {
  await _tapInParagraph(nodeId, offset, affinity, 2, superEditorFinder);
}