Cross platform development: google’s flutter flies on windows

Cross platform development: Google's flutter flies on Windows

Google has published the first alpha of Flutter for Windows. Thus, the cross-platform framework expands the round of target platforms around the most widely used desktop operating system. Flutter already covers Android and iOS in the mobile area as well as Linux and MacOS. In addition, web applications can be created with the framework.

Microsoft had reported a billion active Windows Endgerate in Marz, and according to Google, the half of the Flutter developer uses Windows as a workstation. However, Flutter applications ran only in the browser on Microsoft’s operating system, for example, for Android from emulators.

Common basis

The architecture of the cross-platform framework, the beginning of August in version 1.20 has appeared, owns the three levels framework, engine and emighthers. The framework itself uses the programming language Dart, which Google originally sent as JavaScript challenger to the race, but now had to stretch around the weapons of Microsoft’s Typescript. Developers typically write their applications in DART and use the components of the framework layer such as widgets, gesture processing or material design.

The heart stuck of Flutter is the engine that uses C and C ++ and provides a low-level implementation of the framework’s Core API. It is among other things, for rendering, the text layout, system events, and not least the managing of the DART runtime environment.

Cross platform development: Google's flutter flies on Windows

The architecture of Flutter consists of three levels, of which the lowermost Plattofrmspecific connections.

The empishder as the lowest level is currently providing the platform-specific connection. Among other things, he cumbers the placement of threads, native plug-ins and the interoperability in event processing.

Extensions FURS Framework

Google emphasizes in the envision of the Windows connection that holds new systems not only platform-specific but also uplifting functions in the framework. Accordingly, the fluttered distribution on the desktop drives above all the integration of input rates such as keyboard and mouse, while for mobile development primarily the touch input was in focus. In addition, the team wants to adapt the widgets better for coarse screens.

In addition, the Windows connection brings additional tools for the command line and corresponding development environments. In addition, the developer is the Windows program written in C ++, which charged the Flutter code and exports, would probably add its own native code.

Just mix plug-ins Dart code with a native code for the respective target platforms, which means that developers must provide individual code for each supported platform.

Embellishable connection

Currently Windows is still marked as a target platform as Alpha. Flutter offers only a connection to the classic Win32 API, but Google already experiments with a variant of the Flutter Shell for the Universal Windows Platform (UWP), which includes the Xbox as a target platform, among other things. As a test balloon, the team has already published a UWP-based version of the Flutter Gallery in the Windows Store. The free sample application is marked as a pure proof of concept.

For the prerequisites for the development of Flutter apps for Windows, according to the official flight site Visual Studio 2019, including the C ++ development tools required. In addition, Flutter uses the PowerShell from version 5 under Windows.0, which is available in Windows 10 anyway, as well as Git for Windows 2.X.

Further details can be found in the official investigation, which contains some sample applications and a jump-start.

Like this post? Please share to your friends:
Leave a Reply

;-) :| :x :twisted: :smile: :shock: :sad: :roll: :razz: :oops: :o :mrgreen: :lol: :idea: :grin: :evil: :cry: :cool: :arrow: :???: :?: :!: