ensureVisible method

Future<void> ensureVisible(
  1. dynamic target
)

Implementation

Future<void> ensureVisible(dynamic target) async {
  var finder = targetToFinder(target, skipOffStage: false);
  await tester.ensureVisible(finder);
  await pumpAndSettle();
  await _screenshotIfNeeded();
}