setTester method

void setTester(
  1. WidgetTester tester
)

Sets the WidgetTester to the class, set this before adding the List of TestAction.

By adding this tester, you can avoid to add the tester to every TestAction.

Implementation

void setTester(WidgetTester tester) => _tester = tester;