Skip to main content

Flutter Release Preview 2 brings ‘pixel-perfect iOS apps’, more

In its second and final Release Preview before 1.0, Flutter, Google’s cross-platform app development framework, has added and updated dozens of iOS-themed widgets, for ‘pixel-perfect’ iOS app experiences.

While Flutter has, from the beginning, supported both Android and iOS, the framework’s ability to create apps that follow Apple’s interface guidelines has been fairly slim. By comparison, the Material Design options available for Flutter are vast, and is thus considered a “first-class toolkit” for Material Design.

With Release Preview 2, Flutter is changing this by revamping its ‘Cupertino’ widget set with dozens of new or updated widgets. To demonstrate the capabilities of Cupertino, the developers recreated the UI of the iOS Settings app in Flutter. To get a feel for all of the widgets offered by Flutter’s Cupertino, you can check out the visual widget catalog, though it is still in the process of being updated with the new additions.

It’s important to remember that Flutter doesn’t use the native platform’s widgets directly. This means there’s nothing preventing a developer from using Cupertino widgets on Android or Material widgets on iOS.

The decision to use one or the other (or a completely custom theme) falls on the individual developer.

Another major improvement in the update is the ability to run Dart code in the background. This is handy for running tasks based on timers, GPS data, or other background information available on either platform.

As it progresses towards release, Flutter has also been working on reducing the minimum size of apps produced, and has already seen a 30% reduction (4.7MB, down from almost 7MB). The team is committed to getting that number even lower before the 1.0 release.

9to5Google’s Take

Flutter is already extremely capable of making apps for Android, Chrome OS (via Android), and Fuchsia that feel native to Google’s platforms. It’s nice to see that Google isn’t just going to leave iOS developers behind like second-class citizens.


Check out 9to5Google on YouTube for more news:

FTC: We use income earning auto affiliate links. More.

You’re reading 9to5Google — experts who break news about Google and its surrounding ecosystem, day after day. Be sure to check out our homepage for all the latest news, and follow 9to5Google on Twitter, Facebook, and LinkedIn to stay in the loop. Don’t know where to start? Check out our exclusive stories, reviews, how-tos, and subscribe to our YouTube channel

Comments

Author

Avatar for Kyle Bradshaw Kyle Bradshaw

Kyle is an author and researcher for 9to5Google, with special interests in Made by Google products, Fuchsia, and uncovering new features.

Got a tip or want to chat? Twitter or Email. Kyle@9to5mac.com