Run and compile the app
Step 1: Run Flutter Packages Get
Once the project is loaded, open the terminal within Android Studio by selecting View > Tool Windows > Terminal.
Run the following command to fetch the dependencies:
Step 2: Run Your Flutter Project
Make sure you have a connected device or an emulator running.
In the top toolbar, select your target device from the device dropdown.
Click the Run button (green play icon) to build and run your Flutter project.