Mobile

Google announces Flutter Release Preview 2 with extended support for Cupertino themed controls and more!

2 min read

Yesterday, Google announced Flutter Release Preview 2, during the keynote of Google Developer Days in Shanghai. This is the final preview before the Google team releases Flutter 1.0. In this preview release, they have expanded support for the “Cupertino” themed controls and executing Dart code in the background and reduced the package size.

Flutter is Google’s new open-source mobile app SDK using which you can quickly create high-quality native interfaces on iOS and Android.

What’s new in Flutter Release Preview 2?

Extended support for Cupertino themed controls

After getting the feedback on Flutter Release Preview 1, this release is designed with keeping Apple interface guidelines in mind. They have expanded support for the “Cupertino” themed controls in Flutter, with an extensive library of widgets and classes. Some of the added iOS-themed widgets are:

  • CupertinoApp, a convenience widget that wraps a number of widgets that are commonly required for an iOS-design targeting application.
  • CupertinoTimerPicker is used to show countdown duration with hour, minute and second spinners.
  • CupertinoSegmentedControl displays the widgets provided in the Map of children in a horizontal list. It is used to select between a number of mutually exclusive options.
  • CupertinoActionSheet is used for a specific style of alert that presents the user with a set of two or more choices related to the current context.

Support for executing Dart code in the background

In this release, support has been added for executing Dart code in the background, even while the application is suspended.  

Reduced package size

The application package size is now reduced by up to 30% on both Android and iOS. A minimal Flutter app on Android now weighs just 4.7 MB when built in release mode, and they are continually working towards identifying further potential optimizations.

How to upgrade to Flutter Release Preview 2?

If you’re using the beta release already, you can upgrade to Flutter Release Preview 2 just by running the following:

$ flutter upgrade

Follow the instructions mentioned on the Flutter blog for upgrading to Flutter Release Preview 2.

To know more about Flutter Preview 2 in detail, check out the official announcement by Google.

Read Next

Google Flutter moves out of beta with release preview 1

Google’s Dart hits version 2.0 with major changes for developers

Is Google planning to replace Android with Project Fuchsia?

Bhagyashree R

Share
Published by
Bhagyashree R
Tags: Android News

Recent Posts

Top life hacks for prepping for your IT certification exam

I remember deciding to pursue my first IT certification, the CompTIA A+. I had signed…

3 years ago

Learn Transformers for Natural Language Processing with Denis Rothman

Key takeaways The transformer architecture has proved to be revolutionary in outperforming the classical RNN…

3 years ago

Learning Essential Linux Commands for Navigating the Shell Effectively

Once we learn how to deploy an Ubuntu server, how to manage users, and how…

3 years ago

Clean Coding in Python with Mariano Anaya

Key-takeaways:   Clean code isn’t just a nice thing to have or a luxury in software projects; it's a necessity. If we…

3 years ago

Exploring Forms in Angular – types, benefits and differences   

While developing a web application, or setting dynamic pages and meta tags we need to deal with…

3 years ago

Gain Practical Expertise with the Latest Edition of Software Architecture with C# 9 and .NET 5

Software architecture is one of the most discussed topics in the software industry today, and…

3 years ago