Google and Canonical have implemented the ability to create desktop applications in Flutter for Linux

Google and Canonical companies were made with a joint initiative to provide support for the development of graphical applications based on the framework Flutter for desktop Linux-systems. Flutter user interface framework is written in the Dart language (runtime engine for executing applications is written in C++), allows you to create universal applications that work on different platforms, and is considered as an alternative to React Native.

Despite the existence of the Flutter SDK for Linux, it has so far only been used for developing mobile applications and does not support building desktop applications for LinuxLast year, Google announced its intention to add the ability to develop full-fledged desktop programs to Flutter and introduced an alpha release for developing such programs for macOSNow Flutter extended the ability to develop desktop applications for Linux. Support for application development for Windows is still at the initial prototype stage.

To draw the interface in Linux used A framework based on the GTK library (support for Qt and other toolkits is promised to be added later). In addition to Flutter's native Dart language, which is used to create widgets, applications can use the Dart Foreign Function interface to call C/C++ code and access all the platform's capabilities. Linux.

Support for application development for Linux offered in the latest alpha release FlutterSDK, which also implements the possibility of publishing Linux-applications in the Snap Store catalog. You can also find a build of the app itself in the Snap format. FlutterSDKTo develop Flutter-based applications, it is recommended to use the Visual Studio Code code editor or the IntelliJ development environment and Android Studio

As an example, Linux-an application based on Flutter is proposed Flock Contacts to work with the Google Contacts address book. In catalog pub.dev Three Flutter plugins with support have been published Linux: url_launcher to open the URL in the default browser, shared_preferences to save settings between sessions and path_provider to define typical directories (downloads, images, videos, etc.)


Google and Canonical have implemented the ability to create desktop applications in Flutter for Linux

Source: opennet.ru

Buy reliable hosting for sites with DDoS protection, VPS VDS servers πŸ”₯ Buy reliable website hosting with DDoS protection, VPS VDS servers | ProHoster