Google releases new Dart 2.5 update with Flutter 1.9 version

Google releases new Dart 2.5 update with Flutter 1.9 version

What is Flutter?

Flutter is Google’s mobile app SDK, complete with a framework, widgets (Flutter does not use the platform widgets ), and tools, that give developers an easy way to build and deploy attractive, fast mobile apps on both Android and iOS platforms.

Flutter uses Dart language which is AOT (Ahead Of Time) compiled to fast, predictable, native code, which allows the whole of Flutter to write in Dart.

Also, the developers have found that Dart is particularly easy to learn because it has features that are familiar to users of both static and dynamic languages.

Google has recently released Dart 2.5 and Flutter 1.9 update with support for iOS 13 and macOS Catalina. 

Dart 2.5 enables a machine learning-powered code completion capability, and a foreign function interface for calling C code within Dart. Also, Dart 2.5 provides robust support for calling C code and intelligent code completion. 

Developers can create mobile, web, and desktop apps from one and the same codebase using Flutter 1.9.

Let’s get started by discussing the updates in detail.

Dart 2.5

The stable release of the Dart 2.5, includes technical previews of two major new developer features: 

  1. Code completion powered by machine learning (ML)
  2. Dart: FFI –Foreign function interface for calling C code directly from Dart.

Let’s understand these features in-depth

Code completion powered by machine learning (ML)

To help developers avoid misspellings and explore APIs, Google started to explore machine learning technology to assist developers with code completion. Powered by TensorFlow Lite and the many open-source Dart repositories on GitHub, this new code complete system attempts to offer the most relevant suggestions first instead of just offering all of your options alphabetically.

Since they build directly the ML complete into Dart Analyser, It is available in all Dart enabled editors including Android Studio, IntelliJ, and VS Code.

As the features are still in preview, Dart’s stable release does not include the performance and polish work expected to be in later builds.

A foreign function interface for calling C code directly from Dart

Dart: FFI function provides better support for calling C code and enables developers to invoke C-based frameworks and components. 

For the timing, it limits support for calling C directly from Dart to deep integration into the Dart VM using native extensions.

Dart-C interop enables two main scenarios:

  • Calling into a C-based system API on the host operating system (OS)
  • Calling into a C-based library, either for a single OS or cross-platform

Flutter 1.9 Update

The new features and updates after the release of Flutter 1.9 span a wide range, from support for macOS Catalina and iOS 13 to improved tooling support, as well as new Dart language features and new Material widgets.

With the successful integration of Flutter’s web support into the main Flutter repository also announced a major milestone for Flutter’s web support.

Let’s make the news more transparent by taking a deeper look, starting with what’s new in Flutter 1.9.

Supporting macOS Catalina and iOS 13

Flutter 1.9 includes an implementation of the iOS 13 draggable toolbar, with both long-press and drag-from-right, and supports vibration feedback.

Also, Google has updated the end-to-end tooling experience to ensure it works well on Catalina and with Xcode 11 which includes adding support for the new Xcode build system, enabling 64-bit support throughout the toolchain, and simplifying platform dependencies and enhancing the user experience.

New Material widgets

The Material components and features also get an upgrade in Flutter 1.9 providing several new widgets. The material widgets provide a comprehensive, flexible set of building blocks for implementing interactive user experiences across many platforms.

Supports 24 new languages

Flutter 1.9 provides support to 24 new languages listed we missed in the previous update. The new languages are

  • Afrikaans
  • Albanian
  • Amharic
  • Assamese
  • Azerbaijani
  • Basque
  • Belorussian
  • Bengali
  • Burmese
  • Gujarati
  • Icelandic
  • Georgian
  • Kannada
  • Kyrgyz
  • Lao
  • Macedonian
  • Malayalam
  • Nepali
  • Odia
  • Punjabi
  • Sinhalese
  • Telugu
  • Uzbek
  • Zulu

Conclusion

With every update and the new release of Google, there is something new for the users. In the coming years, we all be getting benefits from these updates.

Let’s just wait and watch what new features will Google be giving us in the future.

 

Also Read:-  Frameworks and Tools For Developing PWA