If you’re here, it’s because you’ve already heard of Flutter. In this part of the Get Started series, you will learn a little more about Flutter and how it works.

SO WHAT’S FLUTTER?

flutter1

Flutter is a SDK for Mobile or Software Development Kit created by Google in 2017. The goal with Flutter is to be able to create mobile apps for both the iOS and Android platform with a single code base.

Flutter uses a programming language that is called reactive, i.e. focusing more on what the user sees rather than the programming itself (MVC structure).

BUT WHY FLUTTER?

Flutter is just magic.

Build beautiful native apps in record time

You can develop beautiful applications quickly with incredible performance. The Framework will allow you a native development on multi-platform.

It uses a language called Dart created by Google that will be compiled into machine language to make your application elegant without sacrificing performance.

THE LANGUAGE OF DART

If you have already developed mobile applications, you have surely developed with languages such as Java, Kotlin or others. Dart joins the game with a Java-like object-oriented approach. And Swift. And C# and Javascript… (well I think you get it).

What happens, the Dart language gets the best out of each language to achieve the performance and characteristics it has today.

The most interesting features are:

  • Native run-time
  • Development speed

But where did it get his superpowers?

They come from the Just-in-Time (JIT) and Ahead-of-Time (AoT) compilation.

During compilation the JIT during development allows you to make hot reloads. hot-reload

Unlike Java or Kotlin, with each small change, you can see the result instantly. The advantage of this feature is that it facilitates development without waiting for the whole recompilation process like on Java or Kotlin, which can take hours of waiting in its entirety.

After development, you now want to make a “finalized” version — a “release built” with the AoT compilation, your application will be compiled into a “release” version quickly as well as all the codes found there will be compiled into machine language (ARM code).

Java, Kotlin, React Native in all this?

Java is very robust and difficult to break through in terms of security. The same goes for Kotlin which has the same maturity as Java. However, neither Java nor Kotlin were developed by Google. Android is the property of Google, so it was time for him to do something for his platform.

Indeed, Java, Kotlin or react Native is very mature with a dense population of developers who support these platforms. But in just one year, Flutter has proven itself. Java, Kotlin and react Native or others (Web apps) have a slow and archaic process. It is undeniable to imagine the scenario where all developers use Flutter: because the Android platform is made by Google.

For the moment, these languages are the most popular, but Flutter will soon be among them

What you have learned

  • Know the technology: Flutter
  • How Flutter works and its features.
  • The future of mobile development.

This is not the end!

I invite you to watch a video of the Google I/O 2018 on Flutter. The next parts will be about application development, debugging methods, using packages, and more on Flutter. The next “Get Started” will have other themes such as Artificial Intelligence. Stay tuned to the busymind101 blog.