Google Flutter comes out of Beta to help speed up native development
Tuesday, December 18, 2018
Richard Harris |
Flutter, the new cross-platform UI builder from Google, just launched its first official stable release, version 1.0. The idea behind Flutter is to enable iOS and Android developers alike to be able to quickly bolt together modern UI elements, using a single code base, for both iOS and Android - and still let you continue to use their native counterparts to each platform independently.
For cross-platform mobile development, developers generally have to choose between either building the same app multiple times for multiple operating systems, or to accept a solution that trades native speed and accuracy for portability. Flutter provides a solution that gives developers the best of both worlds: hardware-accelerated graphics and UI, powered by native ARM code, which can target both popular mobile operating systems.
Flutter is an open source project with a BSD-style license and includes the contributions of hundreds of developers from around the world. The Flutter app is a native app that uses the standard Android and iOS build tools, and can access everything from the underlying operating system, including code and UI wrote in Kotlin or Java on Android and Swift or Objective-C on iOS.
New Features in Flutter 1.0
Flutter doesn’t replace the traditional Apple and Android app models for building mobile apps; instead, it’s an app engine that can either be embedded into an existing app or used to build an entirely new app. Flutter lets you control every pixel on the screen, and its compositing capabilities allow for overlaying and animating graphics, video, text, and controls. It’s powered by the same hardware-accelerated Skia 2D graphics engine that underpins Chrome and Android. Flutter code is powered by the Dart platform, which enables compilation to native 32-bit and 64-bit ARM code for iOS and Android.
Flutter 1.0 has introduced stateful hot reload, a new capability for mobile developers and designers to iterate on their apps in real time. With stateful hot reload, a developer can make changes to an app’s code and see the results instantly without restarting the app or losing its state.
Flutter also includes the latest version of the Dart platform, 2.1, an update to Dart 2 that offers smaller code size, faster type checks, and better usability for type errors. Dart 2.1 also has new language features to improve productivity when building user experiences. Tools for Visual Studio Code, Android Studio, IntelliJ or any programmer’s editor of your choice, are also included.
Become a subscriber of App Developer Magazine for just $5.99 a month and take advantage of all these perks.
MEMBERS GET ACCESS TO
- - Exclusive content from leaders in the industry
- - Q&A articles from industry leaders
- - Tips and tricks from the most successful developers weekly
- - Monthly issues, including all 90+ back-issues since 2012
- - Event discounts and early-bird signups
- - Gain insight from top achievers in the app store
- - Learn what tools to use, what SDK's to use, and more
Subscribe here