Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Building native apps for iOS and Android with F...

Building native apps for iOS and Android with Flutter

Introduction to Flutter from a high level perspective

Avatar for Chema Molins

Chema Molins

November 24, 2018

Other Decks in Programming

Transcript

  1. @jmolins What is Flutter? Flutter-es.io: “Flutter is Google’s mobile app

    SDK for crafting high-quality native interfaces on iOS and Android in record time. Flutter works with existing code..., and is free and open source*.” An multi platform open-source SDK created by Google to • Build • Native and • High quality apps • In record time * At present in Beta
  2. @jmolins 1. Build native apps Native for mobile? • “Native”

    OEM platforms (iOS, Android) • “Native” Widgets (React Native, Xamarin Native) • or...
  3. @jmolins Flutter is Native by definition! • Compile to native

    machine code (ARM) ◦ AoT Compilation (Ahead of Time) ◦ Apps are native in every system ◦ No virtual machine (JVM) ◦ No javascript bridge • Accelerated by GPU, 60 fps • Smooth animations without “jank”
  4. @jmolins Complete SDK to build UIs • Includes runtime and

    renderer • Similar to game engines, like Unity
  5. @jmolins Each layer builds on the previous one Skia Dart

    Text Foundation Animation Painting Rendering Widgets Material Gestures Engine (C++) Framework (Dart) Cupertino
  6. @jmolins High quality widgets Everything is a widget A set

    of Material & Cupertino (iOS) widgets built directly with Flutter SDK. • High quality • Blazingly fast • Customisable and extensible → Composition Capability of making brand designs without the limitations of platform widgets.
  7. @jmolins In record time • Hot-reload stateful ◦ JIT Compile

    ◦ Changes are injected to Dart VM ◦ Changes under 1 second. • Fast prototyping • Great documentation
  8. @jmolins Superpowered by Dart - Sound type system - Tree

    Shaking - AoT (release) and JIT (dev/debug) compilation - Rich set of libraries - Multi-gen, lockless GC