Exception: No macOS desktop project configured. See https://flutter.dev/desktop#add-desktop-support-to-an-existing-app to learn about adding macOS support to a project. code example
Example: flutter desktop support
$ flutter channel dev
$ flutter upgrade
$ flutter config --enable-<platform>-desktop