Hi there you need to add the config to flutter using the following command(s) from your terminal.
flutter config --enable-windows-desktop
flutter config --enable-linux-desktop
flutter config --enable-macos-desktop
Once you have done this restart Android Studio.