Let's start by creating the first screen of the application. The first screen will consist of two different buttons, to let the user choose between the Cloud Vision API and the TensorFlow Lite model.
First of all, we create a new choose_a_model.dart file that will contain a ChooseModel stateful widget. The file will contain the code to create the first screen of the application, containing a column with some text and two raised buttons, as shown in the following screenshot:
The steps to create the first screen of the application are as follows:
- First of all, we will define some global string variables ...