Flutter App Setup

Getting started

Step 1: Once you extract the downloaded file you can see these folders.

Step 2: Open the flutternet folder in Android Studio

Make sure You have installed flutter SDK properly

Step 3: Once the project opened, open the pubspec.yaml file and click on the pug get in the top right corner or go to the terminal and cd into the project folder then run this command

flutter pub get

This will install all the dependencies

Step 4: Open lib->api->api_routes.dart file. Then replace the baseURL value with your server IP (where your backend API project is running)

Don’t change the port only update the IP address

Step 5: Then connect your Android or IOS device or open an emulator and run the Project that’s all you are good to go.

While running in IOS if necessary cd into the ios folder and run pod install

Last updated