0:0019:42

Flutter: What? Why? How? Where?

Anna Domashych 19:42 2021

Google Pay rewrote 1.7 million lines in Flutter and shrank its code by 35%

Google Pay ran two separate codebases totalling 1.7 million lines, with features shipping at different rates and tech debt piling up twice as fast. Its engineers now share a single Flutter codebase. Anna Domashych, a Google Developer Expert in Dart and Flutter, explains why Flutter performs unlike other cross-platform frameworks, and asks when a team should pick it and when it should deliberately choose something else.

Learn how Flutter works and how to judge whether it fits your next app project

Watch on YouTube

In short

Anna Domashych, a Google Developer Expert in Dart and Flutter, explains what Flutter is, how its own rendering approach sets it apart from other cross-platform frameworks, and five reasons to consider it. She also covers when another framework fits better, how to start developing, and how companies such as Google Pay, Toyota, ByteDance and BMW use Flutter in production.

“With Flutter, you can start with experience you want to create and then ship it to any device you want to target.”
“This way, designers and developers can create expressive and flexible UI where nothing limits their imagination.”

What you will learn

  • Explain how Flutter's own widget set and Skia rendering differ from cross-platform frameworks that wrap native UI libraries.
  • Evaluate Flutter against five criteria: beautiful UI, speed, portability, productivity and open source.
  • Recognise cases where another framework fits better, such as SEO-driven websites, immersive augmented reality or a team skilled in another stack.
  • Set up a Flutter workflow with Android Studio, Visual Studio Code or IntelliJ IDEA plugins, DartPad and Flutter DevTools.
  • Use production examples such as Google Pay, Toyota, ByteDance and BMW when building a technology case for Flutter.

Key takeaways from the speaker

  • What? - Flutter is Google's UI toolkit for building beautiful, natively compiled applications for mobile, web, desktop, and embedded devices from a single codebase.
  • Why? - Flutter can be considered as a choice of technology by the vast majority of businesses because of its ease, various platforms support, development speed, and platform adaptivity.
  • How? - Flutter development can be done on any OS, with a rich set of tools. Resources for getting started are provided.
  • Where? - Flutter is already used in a lot of products both inside and outside Google: Google Stadia, Google Pay, ByteDance, Alibaba Group apps, eBay Motors, Toyota cars, etc.

Details

Level
Beginner
Format
Talk
Technical depth
Introductory technical
For
Early career, Mid-career, Senior individual contributor
Length
19:42
Published
June 2021

Questions this talk answers

How can a cross-platform framework like Flutter perform comparably to native apps?

Flutter bypasses the system UI widget libraries in favour of its own widget set, compiled to native code and rendered with Skia, so it composites the whole scene without switching back and forth between Flutter and platform code.

When might Flutter be the wrong choice?

Search engine optimised pages such as blogging platforms and deeply immersive augmented reality experiences are not its strong points, and a team whose strengths suit another cross-platform framework may be better retrained for that one.

What do you need to start developing with Flutter?

Any operating system and the Flutter SDK, ideally with Android Studio, Visual Studio Code or IntelliJ IDEA and the Dart and Flutter plugins, plus DartPad for online experiments and Flutter DevTools for debugging and profiling.

Where should an experienced mobile developer begin learning Flutter?

The Flutter documentation has a section mapping concepts from Android, iOS, React Native, Xamarin and web development to their Flutter equivalents, which was Anna's own first resource when switching from Xamarin.

What results did Google Pay see after moving to Flutter?

As the speaker cited, Google Pay ended up with a 35% smaller codebase, engineers 20% more productive on new features and tech debt down 90% per engineer, along with merged release, experimentation and security review processes.

About this talk

What is common between BMW, Alibaba Group, Google, Toyota, Square, and eBay? - They all have products created with Flutter. In fact, there are already over 200K applications on Google Play alone created with this beautiful, fast, productive, open, and portable framework. We’ll talk about what Flutter is, why you should consider it as a technology choice in your company (or why not), and how you can start incorporating it into your projects.

Topics

Related talks

Browse the library