main.dart: It is the main entry point of our app. It defines the basic structure and initial navigation of the app.
In our case, we have a side menu. In this file, we have defined which page would be the first, and we also described an option to navigate to the side menu. It also helps in notifying us when the platform is ready.
It contains similar files which we are using in our project. In this case, we have defined a constant variable within the app and which also helps to change variable value.
base_url: 'https://restaurantrestapi.herokuapp.com/' // you can add your own database URL
Each page has it’s a folder. And within that folder, you will find every related file for that page. This includes UI, and it is connected with the service page.
Let’s get through the cart page.
Each page has its folder. And within that folder, you will find the related files for that particular page. It contains API.
It contains a similar kind of files which we are using in this project. In our case, we have defined all the colors used within the app, which helps us to change color so that you can play around and try different color schemes.
We also defined a common Text style which is used within the app.