What is Flutter_test?

The flutter_test package provides the following tools for testing widgets : The WidgetTester allows building and interacting with widgets in a test environment. The testWidgets() function automatically creates a new WidgetTester for each test case, and is used in place of the normal test() function.

Read more