On the right, there’s a details screen that displays the plant name
and species.

On app start, when no plant is selected, a text asking the user to select
a plant is displayed

The list of plants is loaded from a local JSON file located in the
assets folder.

You can find the full code example in the Example Project folder.

Existing tests

The project contains the three flutter_driver tests
performing the following checks:

Verifying the initial status of the app.

Selecting the first item on the list of plants.

Scrolling and selecting the last item on the list of plants.

The tests are contained in the test_driver folder,
inside the main_test.dart file.

In this folder there’s also a file named main.dart,
which contains a call to the method enableFlutterDriverExtension().
This file won’t be necessary anymore when using integration_test.

Setup