Chapter 6

Flutter and Dart

IN THIS CHAPTER

Bullet Working with Flutter

Bullet Using the Dart language

When the mobile computing market arrived, developers rushed to create apps for iPhone and Android devices. Initially, Google endorsed Java as the official programming language for Android, but it shifted its support to Kotlin instead.

Unfortunately, writing apps in Java or Kotlin meant you had to rewrite the entire app all over again in Objective-C or Swift to create an iPhone app. Forcing programmers to learn and write apps in two completely different languages wasn’t practical. That’s why Google released Flutter in 2017.

The idea behind Flutter is to create a universal user interface (UI) framework that would allow developers to design an app that would run on Android and iOS with little or no modifications.

After you create a UI using Flutter, the next step is to make it actually work by using a programming language called Dart. Where Flutter focuses on the UI, the Dart programming language focuses on the actual code (algorithms) that you write to calculate results and create useful information of some kind.

Technicalstuff Initially, Flutter was designed to let you write one program that could run on both ...

Get Beginning Programming All-in-One For Dummies, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.