Once you’ve configured your environment for desktop
support, you can create and run a desktop application
either in the IDE or from the command line.

Using an IDE

After you’ve configured your environment to support
desktop, make sure you restart the IDE if it was
already running.

Create a new application in your IDE and it automatically
creates iOS, Android, web, and desktop versions of your app.
From the device pulldown, select windows (desktop),
macOS (desktop), or linux (desktop)
and run your application to see it launch on the desktop.

From the command line

To create a new application that includes desktop support
(in addition to mobile and web support), run the following commands,
substituting my_app with the name of your project:

flutter create my_app

cd my_app

To launch your application from the command line,
enter one of the following commands from the top
of the package:

C:\>