screenshot method

Future<void> screenshot({
  1. String? name,
  2. List<String>? tags,
})

Takes a screenshot of the current widget and display it in the Flutterware visualizer

Implementation

Future<void> screenshot({String? name, List<String>? tags}) {
  return tester.screenshot(name: name, tags: tags);
}