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

Flutter Overview++ (Google I/O 2018)

Flutter Overview++ (Google I/O 2018)

Rui Kowase

May 31, 2018
Tweet

More Decks by Rui Kowase

Other Decks in Technology

Transcript

  1. Profile • Name: Rui Kowase / 小和瀬 塁 • Account:

    @rkowase Skill: Flutter, Android, etc...
  2. What’s Flutter Flutter makes it easy and fast to build

    beautiful mobile apps. https://github.com/flutter/flutter
  3. Dart 2 • A client-optimized language • Rich & powerful

    frameworks • Delightful & flexible tooling https://www.dartlang.org/
  4. Ready for Production Apps: Flutter Beta 3 https://developers.googleblog.com/2018/05/ready-for-production-apps-flutter-beta-3.html • Flutter

    offers ◦ High-velocity development ◦ Expressive and flexible designs ◦ High-quality experiences • Roadmap to Release ◦ Performance and size ◦ Compatibility ◦ Ecosystem
  5. What’s New in Flutter Beta 3 https://medium.com/flutter-io/flutter-beta-3-7d88125245dc • Fundamentals ◦

    Material Design Widget ◦ Dart 2 • Ecosystem ◦ Firebase ◦ AdMob • Tooling ◦ Android Studio ◦ IntelliJ IDE ◦ VS Code
  6. Flutter sessions • Flutter & Design ◦ Customize Material Components

    for your product ◦ Build great Material Design products across platforms ◦ Code beautiful UI with Flutter and Material Design • Flutter & Firebase ◦ Total mobile development made fun with Flutter and Firebase ◦ Add Firebase to your cross-platform React Native or Flutter app • Flutter ◦ Build reactive mobile apps with Flutter https://events.google.com/io/schedule/?section=may-8&topic=flutter&type=sessions
  7. Material Components Support (May 2018) Android (1.0.0-alpha1) iOS (55.0.2) Web

    (0.35.1) Flutter (Beta 3) Color theme components 8 / 16 12 / 16 9 / 16 16 / 16 Type theme components 7 / 10 9 / 10 5 / 10 10 / 10 Expanded set of components 1 / 3 2 / 3 0 / 3 3 / 3 Shape parameter 0 / 2 2 / 2 2 / 2 2 / 2 https://github.com/material-components/material-components/blob/develop/ROADMAP.md
  8. How to integrate 1. Signed up for a Firebase account

    2. Create a Firebase project 3. Platform-specific Firebase configuration ◦ Configure iOS ◦ Configure Android
  9. Handling state • Flutter & state - setState() • State

    & widget tree - InheritedWidget() • Reactive with streams - BLoC & Stream https://www.youtube.com/watch?v=RS36gBEp8OI
  10. ScopedModel • External Package • Build on InheritedWidget • Access,

    Update & Mutate https://pub.dartlang.org/ packages/scoped_model
  11. Pros/Cons - BLoC & Stream • Access state ✅ •

    Updating on change ✅ • Mutating state ✅
  12. Appendix - Build reactive mobile apps with Flutter (Google I/O

    '18) メモ - Qiita https://qiita.com/rkowase/items/23ee4264d54e7890d919