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

Fun with Flutter

Fun with Flutter

The aim of this presentation is to show the basic concepts of Flutter and why the framework is seen as a very viable alternative for building apps. This was presented at DevFest Lagos 2018

Avatar for Idorenyin Obong

Idorenyin Obong

November 08, 2018
Tweet

More Decks by Idorenyin Obong

Other Decks in Programming

Transcript

  1. • It is a mobile app SDK for building iOS

    and Android apps. • It is open source (https://github.com/flutter/flutter)
  2. Awesome features of Flutter • Rich set of Material Design

    and Cupertino widgets. • Native feel out of the box. Lagos
  3. Awesome features of Flutter • Rich set of Material Design

    and Cupertino widgets. • Native feel out of the box. • Hot reload. Lagos
  4. Awesome features of Flutter • Rich set of Material Design

    and Cupertino widgets. • Native feel out of the box. • Hot reload. • Blazing fast rendering. Lagos
  5. OEM SDKs • Your app must be written in native

    code (Swift, Kotlin, etc). Lagos
  6. OEM SDKs • Your app must be written in native

    code (Swift, Kotlin, etc). • Your native code talks directly to your platform to access services. Lagos
  7. OEM SDKs • Your app must be written in native

    code (Swift, Kotlin, etc). • Your native code talks directly to your platform to access services. • Your widgets are rendered on the screen canvas. Lagos
  8. OEM SDKs • Your app must be written in native

    code (Swift, Kotlin, etc). • Your native code talks directly to your platform to access services. • Your widgets are rendered on the screen canvas. • Events are then passed to the widgets. Lagos
  9. Cross-platforms (Reactive views) • Made up of two realms (native

    and JS realm) • The two realms communicate through a bridge Lagos
  10. The Flutter approach • UI systems don’t handle writing to

    canvas. Flutter uses its own engine - Skia. Lagos
  11. “ A developer’s journey from skepticism to excitement for the

    future of non-OEM widgets, and bespoke mobile design” - Xter(https://medium.com/@xster)
  12. Reasons for the choice of Dart • It is compiled.

    • Garbage collection technique. Lagos
  13. Reasons for the choice of Dart • It is compiled.

    • Garbage collection technique. • A unified layout. Lagos
  14. Reasons for the choice of Dart • It is compiled.

    • Garbage collection technique. • A unified layout. • Seems easier to learn. Lagos
  15. What are widgets in Flutter ? It is a description

    of part of a user interface. Lagos
  16. Flutter Setup • Get an IDE (Intellij IDEA or VS

    code) • Download and install the framework (https://flutter.io/get-started/install/) • Install Flutter dependencies Getting started guide (https://flutter.io/get-started/) Lagos
  17. “A fast app is important but a smooth app is

    importanter #DevFestLagos” @KingIdee