enterText method
Future<void>
enterText(
- dynamic target,
- String text, {
- bool pumpFrames = true,
- Screenshot? screenshot,
Implementation
Future<void> enterText(
dynamic target,
String text, {
bool pumpFrames = true,
Screenshot? screenshot,
}) async {
var finder = targetToFinder(target);
await tester.enterText(finder, text);
await _pumpFramesIfNeeded(pumpFrames);
await _screenshotIfNeeded(screenshot);
}