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

Flutter overview

Flutter overview

After half a year experience with Fluttter, two internal projects and one commercial one, we'd like to share our view on what FLUTTER as a framework gives developers and businesses alike.

3d83f31339d239abcc55f869e5f30348?s=128

bkosarzycki

April 19, 2019
Tweet

Transcript

  1. Poznan Flutter Developer Group Property Investor app handover Flutter Overview

    1 Bartosz Kosarzycki Rafał Ślósarz
  2. Poznan Flutter Developer Group Why Flutter - another generation of

    crossplatform 2 Native Flutter React Native
  3. Poznan Flutter Developer Group Why Flutter - development cost •

    fast development ◦ proven with property-investor app ◦ 1 month trial - the team progressed faster than pure native iOS • runs on iOS & Android ◦ one codebase to maintain ◦ even with the same development speed - 2 platforms at once (potentially more) • transparent, simple framework ◦ fewer dependencies (e.g. no activity cycle) ◦ runs the same on every device • fast prototyping - important to test-drive new features & A/B testing 3
  4. Poznan Flutter Developer Group Why Flutter - crossplatform BEST from

    CROSSPLATFORM, keeping most of the benefits from NATIVE development Take what’s best from BOTH worlds - native, typed language - security - 60 fps performance with fluid animations even on low-end devices 4
  5. Poznan Flutter Developer Group Why Flutter - HOT RELOAD -

    speeds up development - “like” on web / cross-platform - enables testing designs and animations easily 5
  6. Poznan Flutter Developer Group Why Flutter - maintenance / stability

    - created and maintained by Google Inc. - more than 200 devs are working on the project - already enables both (iOS/Android) development with prospects for web/desktop in the future - fast growth - Ideal for startups & test-driving new functionality but also good for large systems - COMPILE time does not grow exponentially with code-base size 6
  7. Poznan Flutter Developer Group Why Flutter - expressive, fluid UI

    - 60 fps animations - even on slow devices - rich library of components/animations out-of-the-box - expressive UI - custom views - ability to adjust layouts to user/customer demand - iOS/Android designs are accomplished equally fast - animations are pure functions which can be tested - 3D models, 3D-animations 7
  8. Poznan Flutter Developer Group Why Flutter - expressive, fluid UI

    8
  9. Poznan Flutter Developer Group Why Flutter - expressive, fluid UI

    9
  10. Poznan Flutter Developer Group Why Flutter - expressive, fluid UI

    10
  11. Poznan Flutter Developer Group Why Flutter - security 11 •

    Dart VM ◦ Safer than JVM/Dalvik - Memory Dump proof • Code obfuscation ◦ The same as on native frameworks • Safe storage ◦ The same as on native frameworks
  12. Poznan Flutter Developer Group Why Flutter - tests 12 •

    Unit Tests ◦ Easy to use and complete framework for creating Unit Tests • Integration Tests ◦ Widgets can be tested without running emulators or actual devices ◦ Integration Tests checking UI elements are written directly by devs • UI Tests ◦ Reliable time measurements • Coverage of 80-90% of all the code
  13. Poznan Flutter Developer Group Issues 13 • Limited set of

    libraries • App lifecycle support • Implementing advanced, platform-specific functionalities ◦ Background tasks ◦ Advanced notifications • Dart Lang / Library limitations (e.g. model classes serialization) • Release tasks need to be tackled separately for both platforms (app icons, signing & certificates)