Flutter's popularity has been exploding recently, and it's not hard to see why. The cross-platform framework made huge strides with the release of v2.

Flutter 2.2 announced for faster, less crash-y apps

submited by
Style Pass
2021-05-19 07:29:30

Flutter's popularity has been exploding recently, and it's not hard to see why. The cross-platform framework made huge strides with the release of v2.0 a couple months ago when it gained official support for every major OS available, received substantial tooling enhancements, and made inroads toward protecting against instability with the addition of sound null safety. Now Google is taking an opportunity at I/O 2021 to announce Flutter 2.2.

This release is more of a service update, focusing primarily on stability and fine tuning of the existing features rather than bringing new additions to the table. To that end, Google is making changes like configuring new projects to default to sound null safety, which reduces the potential for null reference exceptions. As a small bonus, this imparts a small performance boost by removing runtime null checking.

Performance gains were also achieved with some platform-specific improvements. Web apps built with Flutter are getting background caching through service workers, and Android apps now have support for deferred components. Over on iOS, work is being done on the toolchain to pre-compile shaders so there will be little or no jank the first time an app is launched.

Leave a Comment