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

What the Flutter?

What the Flutter?

A basic Introduction, what is Flutter and how it works, and Codelab of Dart language.

Google Drive Link: https://goo.gl/XYVQXB

Dhrumil Shah

May 14, 2018
Tweet

More Decks by Dhrumil Shah

Other Decks in Programming

Transcript

  1. What is Flutter? • An SDK which helps to build

    high-performing, modern and beautiful apps • Works for both Android and iOS • An open-source toolkit, developed by Google* • 100+ contributions from the open source community *Currently in Beta
  2. Compiled to native MVC/ MVVM View Reactive Views Interpreted (JavaScript)

    iOS SDK Android SDK Titanium, Cordova, PhoneGap, Ionic, ... Technology: WebViews
  3. Compiled to native MVC/ MVVM View Reactive Views Interpreted (JavaScript)

    iOS SDK Android SDK Titanium, Cordova, PhoneGap, Ionic, ... Flutter React Native Technology: Reactive Views
  4. Who is Flutter for? • Designers converge on a brand-driven

    experience on Android and iOS • Prototypers get a high-fidelity and fast way to build working prototypes. • Developers benefit from fantastic developer tools, an easy-to-use language, a rich set of widgets and great IDE support. Flutter frees up valuable time for working on features and delightful experiences.
  5. Diagram the Layout - Look for rows and columns -

    Is there a grid? - Any overlapping elements? - Do we need tabs? - Padding, alignment or borders needed?
  6. Hot Reload • Injecting updated source code files into the

    running Dart VM • Stateful: App state is retained after a reload. • Quickly iterate on a screen deeply nested in your app
  7. Skia Dart Text Foundation Animation Painting Rendering Widgets Material Gestures

    Engine (C++) Framework (Dart) Cupertino Each layer builds upon the previous layer
  8. Flutter’s new architecture Flutter provides its own widgets • Compiles

    to native Code • No reliance on OEM widgets • No bridge needed • Turns layout on its head! • Widgets are simple and fast • Full customisation and extensibility
  9. Customizing and extending Widgets Flutter’s Widget system was designed to

    be easily customizable Composition: Widgets are built out of smaller widgets that you can reuse and combine in novel ways to make custom widgets class RaisedButton extends StatelessWidget { ... }