Adding desktop support to a pre-existing Flutter app flutter create . This will add the new desktop platform directory to your existing project so that you can build for it. If you want to add only specific desktop platforms, use the following command: flutter create –platforms =windows,macos,linux .
Read more