SuperEditorRobot extension
Extensions on WidgetTester for interacting with a SuperEditor the way a user would.
- on
Methods
- 
  doubleTapAtDocumentPosition(DocumentPosition position, [Finder? superEditorFinder]) → Future< void> 
- 
      Available on WidgetTester, provided by the SuperEditorRobot extension Double-taps at the center of the content at the givenpositionwithin a SuperEditor.
- 
  doubleTapDownInParagraph(String nodeId, int offset, {TextAffinity affinity = TextAffinity.downstream, Finder? superEditorFinder}) → Future< TestGesture> 
- 
      Available on WidgetTester, provided by the SuperEditorRobot extension 
- 
  doubleTapInParagraph(String nodeId, int offset, {TextAffinity affinity = TextAffinity.downstream, Finder? superEditorFinder}) → Future< void> 
- 
      Available on WidgetTester, provided by the SuperEditorRobot extension Simulates a double tap at the givenoffsetwithin the paragraph with the givennodeId.
- 
  dragSelectDocumentFromPositionByOffset({required DocumentPosition from, required Offset delta, PointerDeviceKind? pointerDeviceKind, Finder? superEditorFinder}) → Future< void> 
- 
      Available on WidgetTester, provided by the SuperEditorRobot extension Simulates a user drag that begins at thefromDocumentPosition and drags adeltaamount from that point.
- 
  endDocumentDragGesture(TestGesture gesture) → Future< void> 
- 
      Available on WidgetTester, provided by the SuperEditorRobot extension Ends a drag gesture that's simulated with the givengesture.
- 
  longPressDownInParagraph(String nodeId, int offset, {TextAffinity affinity = TextAffinity.downstream, Finder? superEditorFinder}) → Future< TestGesture> 
- 
      Available on WidgetTester, provided by the SuperEditorRobot extension Simulates a long-press down at the given textoffsetwithin the paragraph with the givennodeId, and returns the TestGesture so that a test can decide to drag it, or release.
- 
  longPressInParagraph(String nodeId, int offset, {TextAffinity affinity = TextAffinity.downstream, Finder? superEditorFinder}) → Future< void> 
- 
      Available on WidgetTester, provided by the SuperEditorRobot extension Simulates a long-press at the given textoffsetwithin the paragraph with the givennodeId.
- 
  placeCaretInParagraph(String nodeId, int offset, {TextAffinity affinity = TextAffinity.downstream, Finder? superEditorFinder}) → Future< void> 
- 
      Available on WidgetTester, provided by the SuperEditorRobot extension Place the caret at the givenoffsetin a paragraph with the givennodeId, by simulating a user gesture.
- 
  pressDownOnCollapsedMobileHandle() → Future< TestGesture> 
- 
      Available on WidgetTester, provided by the SuperEditorRobot extension 
- 
  pressDownOnDownstreamMobileHandle() → Future< TestGesture> 
- 
      Available on WidgetTester, provided by the SuperEditorRobot extension 
- 
  pressDownOnUpstreamMobileHandle() → Future< TestGesture> 
- 
      Available on WidgetTester, provided by the SuperEditorRobot extension 
- 
  startDocumentDragFromPosition({required DocumentPosition from, Alignment startAlignmentWithinPosition = Alignment.center, Finder? superEditorFinder, PointerDeviceKind deviceKind = PointerDeviceKind.mouse}) → Future< TestGesture> 
- 
      Available on WidgetTester, provided by the SuperEditorRobot extension Simulates a user drag that begins at thefromDocumentPosition and returns the simulated gesture for further control.
- 
  startFloatingCursorGesture() → Future< void> 
- 
      Available on WidgetTester, provided by the SuperEditorRobot extension Simulates the user holding the spacebar and starting the floating cursor gesture.
- 
  stopFloatingCursorGesture() → Future< void> 
- 
      Available on WidgetTester, provided by the SuperEditorRobot extension Simulates the user releasing the spacebar and stopping the floating cursor gesture.
- 
  tapAtDocumentPosition(DocumentPosition position, [Finder? superEditorFinder]) → Future< void> 
- 
      Available on WidgetTester, provided by the SuperEditorRobot extension Taps at the center of the content at the givenpositionwithin a SuperEditor.
- 
  tapDownInParagraph(String nodeId, int offset, {TextAffinity affinity = TextAffinity.downstream, Finder? superEditorFinder}) → Future< TestGesture> 
- 
      Available on WidgetTester, provided by the SuperEditorRobot extension 
- 
  tapInParagraph(String nodeId, int offset, {TextAffinity affinity = TextAffinity.downstream, Finder? superEditorFinder}) → Future< void> 
- 
      Available on WidgetTester, provided by the SuperEditorRobot extension Simulates a tap at the givenoffsetwithin the paragraph with the givennodeId.
- 
  tapOnCollapsedMobileHandle() → Future< void> 
- 
      Available on WidgetTester, provided by the SuperEditorRobot extension 
- 
  tripleTapAtDocumentPosition(DocumentPosition position, [Finder? superEditorFinder]) → Future< void> 
- 
      Available on WidgetTester, provided by the SuperEditorRobot extension Triple-taps at the center of the content at the givenpositionwithin a SuperEditor.
- 
  tripleTapInParagraph(String nodeId, int offset, {TextAffinity affinity = TextAffinity.downstream, Finder? superEditorFinder}) → Future< void> 
- 
      Available on WidgetTester, provided by the SuperEditorRobot extension Simulates a triple tap at the givenoffsetwithin the paragraph with the givennodeId.
- 
  typeImeText(String text, [Finder? imeOwnerFinder]) → Future< void> 
- 
      Available on WidgetTester, provided by the SuperEditorRobot extension Types the giventextinto a SuperEditor by simulating IME text deltas from the platform.
- 
  typeTextAdaptive(String text, [Finder? imeOwnerFinder]) → Future< void> 
- 
      Available on WidgetTester, provided by the SuperEditorRobot extension Simulates typingtext, either as keyboard keys, or as insertion deltas of a software keyboard.
- 
  updateFloatingCursorGesture(Offset offset) → Future< void> 
- 
      Available on WidgetTester, provided by the SuperEditorRobot extension Simulates the user swiping the spacebar byoffset.