'Build option for windows is not showing in android studio

I am in the latest stable release for flutter desktop and have installed Visual Studio 2022 but still the option for "Windows" is not showing. Do i still need to run the below command in stable release?

flutter config --enable-<windows>-desktop

enter image description here



Solution 1:[1]

You need to try its working fine

flutter config --enable-macos-desktop
flutter config --enable-linux-desktop
flutter config --enable-windows-desktop
flutter config --enable-windows-uwp-desktop

Solution 2:[2]

Sometimes it needs to press the previous and Then the next button.

enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Ravi Limbani
Solution 2 Ayub