expectVisible method
Implementation
void expectVisible(String id) {
return RunnerBenchmark.sync('assertion', 'expectVisible', () {
if (!_hasVisiblePaintedElement(finderForId(id))) {
throw EnsembleTestFailure(
'Expected widget with id "$id" to be visible. '
'${widgetIdFailureHint(id)}',
);
}
});
}