getText method
- SerializableFinder finder, {
- Duration? timeout,
Returns the text in the Text
widget located by finder
.
Implementation
Future<String> getText(SerializableFinder finder, { Duration? timeout }) async {
return GetTextResult.fromJson(await sendCommand(GetText(finder, timeout: timeout))).text;
}