SuperEditorRobot extension
Extensions on WidgetTester for interacting with a SuperEditor the way a user would.
- on
Methods
- 
  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, 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.
- 
  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.
- 
  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.
- 
  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.
- 
  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.
- 
  updateFloatingCursorGesture(Offset offset) → Future< void> 
- 
      Available on WidgetTester, provided by the SuperEditorRobot extension Simulates the user swiping the spacebar byoffset.