Slide 1

Slide 1 text

2019.07.24 Kenichi Kambara (@korodroid) Flutter 1.7 Features
 (Overview+α) potatotips #63

Slide 2

Slide 2 text

About me • Mobile App Development • Technical Speeches • Droidcon UK/FR/NL/ES/SH • Devoxx UA • GDG DevFest Pisa • Developers Summit • Android Bazaar and Conference • StackOverflow DevDays • Cloud Days • Google I/O Extended Tokyo 2018 •Technical Writings •[Official] NTT TechnoCross •[Private] iplatform.org Kenichi Kambara (@korodroid)

Slide 3

Slide 3 text

•1.7 New Features Overview •+α Introduction

Slide 4

Slide 4 text

Ref.)Announcing Flutter 1.7 (2019.07.10)

Slide 5

Slide 5 text

Flutter 1.7 Main Topics •AndroidX support for new apps •Support for Android app bundles •Creating Sample App (Available on previous ver.)

Slide 6

Slide 6 text

AndroidX support for new apps AndroidX: a new open source support library from Jetpack

Slide 7

Slide 7 text

AndroidX support for new apps [How to Create a Flutter Project includes AndroidX (Default: Disable)] $ flutter create --androidx myapp

Slide 8

Slide 8 text

How to migrate a Flutter app to AndroidX [Use Android Studio to migrate your app] 1. Import your Flutter app into Android Studio 2. On Android Studio, Refactor > Migrate to AndroidX Recommended [Manually migrate your app] ref. https://flutter.dev/docs/development/packages-and-plugins/androidx-compatibility Not Recommended

Slide 9

Slide 9 text

How to avoid AndroidX?? https://flutter.dev/docs/development/packages-and-plugins/androidx-compatibility

Slide 10

Slide 10 text

Why must we use Android app bundle? https://android-developers.googleblog.com/2019/01/get-your-apps-ready-for-64-bit.html

Slide 11

Slide 11 text

[- Flutter 1.5] Supporting 64-bit app [Creating both 32-bit and 64-bit apps (2 .apk)] $ flutter build apk --release —target-platform=android-arm $ flutter build apk --release —target-platform=android-arm64 [Uploading 2 .apk] 2 apks -> Google Play Store

Slide 12

Slide 12 text

[Flutter 1.7 - ] Supporting 64-bit app [Creating Android app bundle (1 .aab)] $ flutter build appbundle [Uploading 1 .aab] 1 aab -> Google Play Store

Slide 13

Slide 13 text

Creating Sample App [How to Create Sample App] $ flutter create --sample=material.AppBar.1 mysample

Slide 14

Slide 14 text

How to create Sample App flutter.dev

Slide 15

Slide 15 text

How to create Sample App

Slide 16

Slide 16 text

Let’s try (Live Demo)

Slide 17

Slide 17 text

No content

Slide 18

Slide 18 text

$ flutter create --sample=material.AppBar.1 mysample $ cd mysample $ flutter run

Slide 19

Slide 19 text

•Announcing Flutter 1.7
 https://medium.com/flutter/announcing-flutter-1-7-9cab4f34eacf Reference

Slide 20

Slide 20 text

Please let me know if you have any requests 
 such as technical speeches, technical writings and so on. Facebook:http://fb.com/kanbara.kenichi Twitter:@korodroid LinkedIn:http://www.linkedin.com/in/korodroid Thank you so much