Flutterexperts

Empowering Vision with FlutterExperts' Expertise
What’s New In Flutter 2 !

Our next generation of Flutter, built for web, mobile, and desktop

You must’ve heard Flutter has released its second update last week on March 3, 2021. As the Google itself claims that this version is fully dedicated to developer’s experience that is why the new version has developers oriented functionalities.

Flutter 2.0 is packed with new capabilities and improved experiences with brand new and the existing features.


What’s New in Flutter 2 ?

There are many new and exciting features in the new release, let’s look at them one by one.

Web Support of Flutter

In the earlier version of Flutter, the foundation of the web was document centric. But, the web platform is already evolved by using a very dynamic richer platforms and APIs. Keeping that in mind Flutter new release build on these innovations which offers and app-centric framework.

By adding the Canvas Kit powered rendering engine built with Web Assembly and Flutter Plasma, a demo built by community member Felix Blaschke, Flutter 2.0 made a lot of progress on performance optimization which ultimately showcase the ease of building sophisticated web graphics experiences with Dart and Flutter that can also run natively on desktop or on mobile devices.

Platform Adaptive Applications

By now as we all know that the Flutter 2.0 supports three stages of production applications — Android, iOS and the Web and the three more in beta — Windows, macOS and Linux. Hence, we may wonder,

How we would compose an application that adapts well with numerous divers’ factors — Little, medium and large screens. Distinctive info mode — Keyboard, touch and mouse?

To address these, Flutter has introduce “Flutter Folio Scrapbooking Application”.

What is Flutter Folio?

Flutter Folio is a scrapbooking app that is designed to showcase Flutter’s capabilities to create apps that feel at home on every platform and device: iOS, Android, Mac, Linux, Windows, and the Web.

Flutter Folio

Google Mobile Ads: Beta

Another beta release that will make digital marketers excited! Google Mobile Ads SDK for Flutter is a new plugin dedicated to overlay, banner, and native ads for mobile devices. Its unified support of Ad Manager and Ad mob makes it versatile for advertisers, regardless of a publisher.

iOS Features

The most important and awaited feature is that after numerous requests, Flutter has finally added a possibility to build IPA directly from the command line without having to rely on Xcode. Furthermore, the Cupertino design language implementation has been updated with some fresh UI (e.g. iOS search console).

New Widgets: Autocomplete & ScaffoldMessenger

Flutter 2.0 new release brings on board with two new widgets :

Autocomplete Core : The Autocomplete does exactly what we do expect, and simplifies the coding process with a long-requested auto-complete function.

ScaffoldMessenger : The ScaffoldMessenger is dedicated to SnackBar-related issues.

Dart: The Heart

Along with Flutter 2, Google has released Dart 2.12, a new version of the language that is used to create Flutter apps. At the language level, Dart 2.12’s most relevant feature is null safety, which can be enabled to make all variable declarations to be non-nullable by default unless they add a ? Suffix to the type:

var i = 42; // non-nullable int

int? n = null; // nullable int

if (n == null) {

return 0;

}

if (n > 0) { // here n has been promoted to a non-null int

}

Another important feature in Dart 2.12 is Dart FFI, which makes it possible to call into C libraries from Dart code. While Dart FFI is considered stable and ready for production use, there are a number of fine-grained features that are still in the workings, including support for ABI-specific data types like int, long, size_t; inline arrays in structs; packed structs, and so on.

Conclusion

Lastly, I would say that the world is evolving and they are moving more towards the technology. In coming future we will come across with new and innovative business ideas and for most of the business idea there will be one application which satisfies the need. Considering that fact, I believe Flutter has a great future. They are continuously evolving and the developers are taking notice of that, and they’re adopting Flutter more and more.


Feel free to connect with us
And read more articles from FlutterDevs.com.

FlutterDevs team of Flutter developers to build high-quality and functionally-rich apps. Hire a flutter developer for your cross-platform Flutter mobile app project on an hourly or full-time basis as per your requirement! You can connect with us on Facebook, GitHub, Twitter, and LinkedIn for any flutter-related queries.

We welcome feedback and hope that you share what you’re working on using #FlutterDevs. We truly enjoy seeing how you use Flutter to build beautiful, interactive web experiences.

Leave comment

Your email address will not be published. Required fields are marked with *.