execute method
Called when it executes the action in a flow file.
Implementation
@override
Future<bool> execute(Tester tester) async {
TextInput.setInputControl(_textInputController);
tester.emitPlatformMessage(
SystemChannels.textInput.name,
SystemChannels.textInput.codec.encodeMethodCall(
const MethodCall('TextInputClient.requestExistingInputState'),
),
);
TextInput.restorePlatformInputControl();
for (final char in text.split('')) {
await _enterText(tester, char);
await tester.pumpAndSettle();
}
return true;
}