Theme images by Deejpilot

Subscribe Via Email

If you like articles on this blog, please subscribe for free via email.

About Us

More about ZeeNewsPro

About Us

Much more about ZeeNewsPro and author

Facebook

banner image

recent posts

Ads 300 x 250

Random Posts

randomposts

What is Flutter 2's New Features?


Flutter 2.10 is now available with interesting new changes; read on for more information.

Flutter web & Null Safety have been promoted to stable, while Flutter desktop has been promoted to beta.

It's been a little over 2 years since the release of Flutter 1.0.

As piece of a Flutter 2 release, there seem to be a lot of interesting things occurring. For a summary of what's new in Flutter 2 & Dart 2.12.



Google has been working on Flutter for several years, with the goal of creating the cross-platform software framework of programmers' dreams. Flutter 2.10 now is released, and it comes with some amazing new features!


Flutter Dev Tools 

Material 3 

Improvements to Integration Testing

Windows is now suitable for production-level applications.

Updates to Web Applications-

Updates for iOS

Updates for Android

Performance Improvements  

Flutter SDK

Flutter Fix 

and much more


Windows is also now ready for production-level applications:

There really is no longer a required to flip an interchange with the Flutter 2.10 release. Of course, it readily integrates with Windows support. The new version builds the Windows app rapidly on the Flutter stable branch.


This version includes substantial enhancements to text processing, keyboard management, keyboard shortcuts, and new dedicated integrations with Windows, such as support for command-line parameters, worldwide text entry, and accessibility.


 Updates to web:

Flutter's web support has been moved from the beta to a stable channel. With the backing of the web platform, Flutter takes re - usability to a new level with this inaugural stable version. So, when you develop a Flutter application on stable, web is simply extra device targeting for your app.

This Flutter release also features a significant web enhancement.


Android Updates:  

If the developers create a new application, the Flutter release 12 will immediately support it. Flutter 2.10 adds multiplexed support and also automated release.

The flutter tool offers those stages into minor support a rising aim. With updated logs, it gives enhanced carry again for Android SDK genre. According to a recent survey, 76 percent of Android users should be aware of Flutter app development.


iOS software updates:

In addition to speed improvements, the business has incorporated several platform-specific features and upgrades. Softer keyboard animation in iOS are one new feature that is added to your app automatically but without your intervention. Furthermore, the business has increased the reliability of the cam plugin for iOS by correcting some few edge situation crashes.

Finally, compressed pointers are a new memory-saving function for 64-bit iOS architectures.


Sound Null Safety:

The inclusion of sound null safety to the Dart languages enriches the type system by separating nullable types and non-nullable types. This allows developers to avoid null error errors, which are a major cause of programmed problems. These problems may be caught throughout development by introducing null tests into the type system, eliminating crashes in production. As of Flutter 2, that includes Dart 2.12, sound null safety is completely supported in stable.


Flutter SDK: 

Using Flutter DevTools, new steps are taken to evaluate the functionality. In addition, it uncovers updated features. It makes use of the most recent release and the most recent transition to darts DevTools for appropriate version settings. Using Pub public actuate appears to be a critical component of creation in 95 percent of cutting-edge products.

The Flutter DevTools, on the other hand, utilises overturning as the flag and considers extensive advancement. It will switch to keyboard shortcuts to maximize the sake. The combination works with Windows directly and brackets command-line arguments.


Material 3:

his release heralds the beginning of a Material 3 transformation, which includes the ability to generate a whole color scheme from a single origin color. You may use any color to construct an example of the generic Color Scheme class. This release includes Theme Data as well. The useMaterial3 option forces components to take on the fresh Material 3 look.

In addition, there are 1,028 fresh Material icons.


Desktop:

Flutter's desktop support is now accessible in the stable branch, with an early access flag.

To achieve this level of quality, Flutter desktop has undergone both large and small improvements, beginning with efforts to ensure that text editing behaves like the native experience each of the platforms, including foundational features such as text choice pivot points and the chance to prevent the spreading of a keyboard event once it has been handled. Trying to drag with a highly precise pointing device now begins instantly instead of waiting for the latency required when managing touch input. In addition, for the Material & Cupertino design languages, a built-in context menu has been provided to a Text Field and Text Form Field widgets.

Finally, the Reorderable List View widget now has grab handles.


Flutter Fix: 

As a framework evolves and attracts users having bigger code bases, one inclination is to avoid making changes to the frameworks API in order to prevent breaking a growing amount of code. Flutter 2 is fast slipping into this category, including over 500,000 Flutter programmers across a rising variety of platforms. However, in order to continue to enhance Flutter over future, we need to be allowed to make breaking API changes. The challenge then becomes, how can we continue improving the Flutter Apis without causing problems for our developers?

Flutter Fix is the solution.

Flutter Fix is indeed a mash-up of several things. First, the darts CLI tool now has a new control option called dart fix that understands where and how to search for a list of obsolete APIs and how to replace code that uses those APIs. The second is the list of possible fixes, which is now included in the Flutter SDK as of version 2. Finally, it's an updated set of Flutter extensions to the VS Code, IntelliJ, and Android Studio IDEs which know how to show the same list of possible changes as fast fixes with small light bulbs that will assist you alter the code with a mouse click.


Extension for Android Studio/IntelliJ:

The Flutter plugin for the IntelliJ family of IDEs has been updated to support Flutter 2. To begin, there is a new project wizard that fits the new IntelliJ wizard layout.


Integration testing has been improved:

This new package replaces the flutter driver packages as the recommended method for integration testing, introducing additional capabilities such as Firebase Test Lab support, as well as web and desktop support.

The integration testing feature has been enhanced further, with the integration test package being included in the Flutter SDK itself, making it simpler to integrate with your project. If you're transitioning from flutter driver to testing phase, there's also a migrations guide.

For the integration test, some existing documentation, examples, and code labs were also updated. To begin, go to flutter.dev and browse to the Testing Flutter applications page. If you haven't begun utilizing system testing in your Flutter apps yet, now is the time!

Additionally, if you're using IntelliJ or Android Studio on Linux to code against the Flutter SDK installed through the Snap Store, the Flutter snap path has been added to the list of recognized SDK paths. This makes it easy for Flutter snap users to configure the Flutter SDK in Settings.


Updates to the ecosystem:

The Flutter skill level encompasses more than just the framework and tools; also it includes the extensive library of packs and plugin accessible for Flutter apps. Much has transpired in that space since the previous stable release of Flutter. For example, approximately 30 PRs have indeed been merged between both the camera and video player plugins to considerably improve both. If you've had difficulties using either of that in the past, we think you'll find them considerably more resilient this time.

If you utilize Firebase, the most popular plugins have been upgraded to production standards, including null safety support and a comprehensive collection of reference documentation and common usage tutorials for Android, iOS, web, and macOS. Among these plugins are the following:

Cloud Fire store 

Cloud Functions

Core 

Authentication

Cloud Storage 

Cloud Messaging

Crashlytics


Enhancements to performance:

This release includes the first version of Flutter's support for filthy region management. You may allow partial repaints for just a specific dirty zone on iOS/Metal. This update lowered 90th & 99th percent rasterization times by a magnitude in a few benchmarks, as well as GPU use from more than 90% to less than 10%.




Post a Comment

Please do not enter any spam link in the comment box

Previous Post Next Post