SuperTextFieldRobot extension
Extensions on WidgetTester for interacting with a SuperTextField the way a user would.
- on
Methods
-
doubleTapAtSuperTextField(
int offset, [Finder? superTextFieldFinder, TextAffinity affinity = TextAffinity.downstream]) → Future< void> -
Available on WidgetTester, provided by the SuperTextFieldRobot extension
Double taps in a SuperTextField at the givenoffset -
dragAndroidCollapsedHandleByDistanceInSuperTextField(
Offset delta, [Finder? superTextFieldFinder]) → Future< TestGesture> -
Available on WidgetTester, provided by the SuperTextFieldRobot extension
-
dragCaretByDistanceInSuperTextField(
Offset delta, [Finder? superTextFieldFinder]) → Future< TestGesture> -
Available on WidgetTester, provided by the SuperTextFieldRobot extension
-
dragDownstreamMobileHandleByDistanceInSuperTextField(
Offset delta, [Finder? superTextFieldFinder]) → Future< TestGesture> -
Available on WidgetTester, provided by the SuperTextFieldRobot extension
Drags the SuperTextField downstream handle by the given delta and returns the TestGesture used to perform the drag. -
dragUpstreamMobileHandleByDistanceInSuperTextField(
Offset delta, [Finder? superTextFieldFinder]) → Future< TestGesture> -
Available on WidgetTester, provided by the SuperTextFieldRobot extension
Drags the SuperTextField upstream handle by the given delta and returns the TestGesture used to perform the drag. -
placeCaretInSuperTextField(
int offset, [Finder? superTextFieldFinder, TextAffinity affinity = TextAffinity.downstream]) → Future< void> -
Available on WidgetTester, provided by the SuperTextFieldRobot extension
Taps to place a caret at the givenoffset. -
selectSuperTextFieldText(
int start, int end, [Finder? superTextFieldFinder]) → Future< void> -
Available on WidgetTester, provided by the SuperTextFieldRobot extension
-
tapAtSuperTextField(
int offset, {Finder? superTextFieldFinder, TextAffinity affinity = TextAffinity.downstream, int buttons = kPrimaryButton}) → Future< void> -
Available on WidgetTester, provided by the SuperTextFieldRobot extension
Taps in a SuperTextField at the givenoffset -
tapOnAndroidCollapsedHandle(
[Finder? superTextFieldFinder]) → Future< void> -
Available on WidgetTester, provided by the SuperTextFieldRobot extension
Tap on an Android collapsed drag handle. -
tapOnCaretInSuperTextField(
[Finder? superTextFieldFinder]) → Future< void> -
Available on WidgetTester, provided by the SuperTextFieldRobot extension
-
tripleTapAtSuperTextField(
int offset, [Finder? superTextFieldFinder, TextAffinity affinity = TextAffinity.downstream]) → Future< void> -
Available on WidgetTester, provided by the SuperTextFieldRobot extension
Triple taps in a SuperTextField at the givenoffset