isElementVisible method
Returns whether a native UI element matching the criteria is visible.
Implementation
Future<bool> isElementVisible({
String? name,
String? className,
String? automationId,
}) async {
config.logger('isElementVisible(name: $name)');
final result = await _channel.invokeMethod<bool>('isElementVisible', {
'name': ?name,
'className': ?className,
'automationId': ?automationId,
});
return result ?? false;
}