how to code desktop app using dart 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