Comment on page
Testing On Desktop
This page guides you on testing your app on a desktop.
We allow you to develop a desktop app that can be run on a Windows, macOS, and Linux operating system.
Testing the desktop app consists of the following steps:
To add platform support:
- 1.Navigate to Setting and Integrations () from the Navigation Menu > Project Setup > Platforms.
- 2.Enable the platform that you want to support.
Enabling desktop platform
If you're creating a desktop-only application, setting the canvas size to desktop and building pages accordingly can work well. However, if you plan to target both mobile and desktop users, some design adjustments may be necessary to ensure that the UI is optimized for both platforms.
To launch your application from the command line, enter one of the following commands:
flutter run -d windows
flutter run -d macos
flutter run -d linux
Running app on desktop
Last Updated Date: October 19, 2023