flutter desktop code example
Example 1: flutter desktop support
$ flutter channel dev
$ flutter upgrade
$ flutter config --enable-<platform>-desktop
Example 2: flutter windows
C:\src>git clone https://github.com/flutter/flutter.git -b stable
$ flutter channel dev
$ flutter upgrade
$ flutter config --enable-<platform>-desktop
C:\src>git clone https://github.com/flutter/flutter.git -b stable