List and launch emulators using Flutter Command Line
To list the available emulators on the system use the following command.
flutter emulators
It gives the information as follows
2 available emulators:
Pixel_5_API_31 • Pixel 5 API 31 • Google • android
Pixel_5_API_31_2 • Pixel 5 API 31 2 • Google • android
To run an emulator, run 'flutter emulators --launch <emulator id>'.
To create a new emulator, run 'flutter emulators --create [--name xyz]'.
You can find more information on managing emulators at the links below:
https://developer.android.com/studio/run/managing-avds
https://developer.android.com/studio/command-line/avdmanager
To launch the emulator, use the following command
flutter emulators --launch Pixel_5_API_31_2