exists method

Future<bool> exists(
  1. Object target
)

Whether target is on screen right now. Doesn't wait.

Implementation

Future<bool> exists(Object target) async {
  await _clock.frame();
  return _anyVisible(Find.target(target).find(_tree()));
}