how to enable flutter desktop code example
Example: flutter desktop support
$ flutter channel dev
$ flutter upgrade
$ flutter config --enable-<platform>-desktop
$ flutter channel dev
$ flutter upgrade
$ flutter config --enable-<platform>-desktop