Now, let’s run the following command to ensure that our system shows up. Please note that this sets the environment variable for the current terminal session, hence we will be doing all the future steps in this terminal itself. ![]() PowerShell: $env:ENABLE_FLUTTER_DESKTOP="true" On macOS or Linux: export ENABLE_FLUTTER_DESKTOP=true To do this, in a terminal key in the appropriate command: We can do so by setting the environment variable ENABLE_FLUTTER_DESKTOP=true. This is because by default Flutter does not not have desktop support enabled. Now with that out of our way, we can see that our even though I am on Ubuntu, the Linux system is not being displayed as a connected device, capable of running Flutter. We should see an output like the one shown below (as of 17th May, 2019) To ensure the same, fire up a terminal and run the following commands. Prerequisitesįor Flutter to run on Desktop, we must be on the master channel, with the latest release. In my attempts, I have found that there are multiple ways to do it, so for the sake of simplicity, let’s go with the easiest one. In this article we will go through the process of running a new or an existing Flutter application on a Desktop environment. ![]() The technical preview for Flutter Web was released, and a live demonstration showed how Flutter apps can run on Desktop environments, like Chrome OS, Linux, Mac OS, or Windows. ![]() Google I/O 2019 was about innovation, and for Flutter it was about going beyond mobile apps.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |