You're all done with the dependencies! Then, just like Flutter's official tutorial, run flutter config -enable-linux-desktop to actually enable desktop support.įinally, run flutter doctor to see if there are any problems. Just in case, still run sudo eopkg it -c vel, and then followed by: sudo eopkg it llvm-clang libgtk-3-devel xz-devel You should have ninja, cmake, and pkg-config already installed if you have run sudo eopkg it -c vel to install dependencies for Flutter. info Note: Most of the screenshots in this tutorial are displayed with debugPaintSizeEnabled set to true so you can see the visual layout. However, as mentioned above, this was not written for Solus users. The second screenshot displays the visual layout, showing a row of 3 columns where each column contains an icon and a label. liblzma-dev if you didn't use snap and installed Flutter manually by downloading the SDK directly.Flutter apps use Dart programming language for creating an app. Initially, it was developed from Google and now manages by an ECMA standard. If you want to get started with Flutter on desktop, the place to start is now the Flutter documentation, rather than this project. That work has since become part of Flutter, and all that remains here are experimental, early-stage desktop plugins. Desktop support for Linux require the following dependencies: Flutter is a UI toolkit for building fast, beautiful, natively compiled applications for mobile, web, and desktop with one programing language and single codebase. This project was originally created to develop Windows, macOS, and Linux embeddings of Flutter. For future reference and to save other Flutter devs' time, I decided to write a small tutorial on how to enable this feature (mainly on the dependencies part):Īssume you already have the Flutter SDK installed and running. Flutter itself has a tutorial for this, but that's mostly for Ubuntu/Debian users and it's usually very hard to figure out what dependencies you actually need. After a painful hour of searching for dependencies, I was finally able to get Flutter's desktop support (compile to Linux) running on my computer. In this tutorial for beginners, we will learn how to create a simple flutter application and build it as a native desktop application for Linux.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |