Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
FlutterにiOS 14などの新機能を取り込むには
Search
Shotaro Tao
December 21, 2020
Programming
2
910
FlutterにiOS 14などの新機能を取り込むには
Flutter × Kotlin Multiplatform by CyberAgent 2020/12/21
Shotaro Tao
December 21, 2020
Tweet
Share
Other Decks in Programming
See All in Programming
社内フレームワークとその依存性解決 / in-house framework and its dependency management
vvakame
1
550
Pulsar2 を雰囲気で使ってみよう
anoken
0
230
動作確認やテストで漏れがちな観点3選
starfish719
6
1k
How mixi2 Uses TiDB for SNS Scalability and Performance
kanmo
29
11k
個人アプリを2年ぶりにアプデしたから褒めて / I just updated my personal app, praise me!
lovee
0
340
sappoRo.R #12 初心者セッション
kosugitti
0
230
Flutter × Firebase Genkit で加速する生成 AI アプリ開発
coborinai
0
150
Multi Step Form, Decentralized Autonomous Organization
pumpkiinbell
1
660
Ruby on cygwin 2025-02
fd0
0
140
一休.com のログイン体験を支える技術 〜Web Components x Vue.js 活用事例と最適化について〜
atsumim
0
110
密集、ドキュメントのコロケーション with AWS Lambda
satoshi256kbyte
0
170
CloudNativePGがCNCF Sandboxプロジェクトになったぞ! 〜CloudNativePGの仕組みの紹介〜
nnaka2992
0
220
Featured
See All Featured
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
The Power of CSS Pseudo Elements
geoffreycrofte
75
5.5k
The Cult of Friendly URLs
andyhume
78
6.2k
Typedesign – Prime Four
hannesfritz
40
2.5k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
A Tale of Four Properties
chriscoyier
158
23k
Java REST API Framework Comparison - PWX 2021
mraible
28
8.4k
VelocityConf: Rendering Performance Case Studies
addyosmani
328
24k
Making the Leap to Tech Lead
cromwellryan
133
9.1k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
3
310
Transcript
Shotaro Tao 2020-12-21 Flutter ʹ iOS 14 ͳͲͷ৽ػೳΛऔΓࠐΉʹ Flutter ×
Kotlin Multiplatform by CyberAgent
# ՝ ωΠςΟϒίʔυΛΘͣʹΞϓϦ։ൃ͕Ͱ͖ΔݴޠΛਓʹקΊΔͱ • ͑ɺUIͬͯͲ͏ͳΔͷʁ • ػೳ੍͕ݶ͞Εͦ͏ • iOSɾAndroidʹग़Δ৽͍͠ػೳऔΓೖΕ͍ͨ
# MethodChannelɺEventChannel State Flutter app (client) AppDelegate iOS host FlutterViewController
iOSͷAPI ଞͷϥΠϒϥϦͷAPI ʢCocoapodsܦ༝ͳͲʣ MethodChannel FlutterMethodChannel
σʔλͷड͚͠ StandardMessageCodec Dart null bool Int double String List Map
Swift nil Bool Int Double String Array Dictionary Kotlin null Boolean Int Double String List HashMap MessageCodec ByteDataΛݩʹΤϯίʔυͱσίʔυΛߦ͏ϝιουΛ࣮
MethodChannelɺEventChannelͷ͍ํ
MethodChannelɺEventChannelͷ͍ํ
MethodChannelɺEventChannelͷ͍ํ
ύοέʔδ
ύοέʔδ
ύοέʔδ
ύοέʔδ
ύοέʔδ
·ͱΊ • MethodChannelEventChannelΛར༻͢Δ͜ͱͰσʔλͷΓͱΓ͕ग़དྷΔ • ௨ৗͷΞϓϦͰར༻͢Δ༷ͳҐஔใͷऔಘɺσόΠεใͷऔಘɺϩʔΧ ϧετϨʔδͷσʔλͷอଘɺϒϥβͷදࣔͳͲϥΠϒϥϦͱͯ͠ެ ։͞Ε͍ͯΔ
App ClipsɺWidgets (iOS 14) • ωΠςΟϒͰ࣮ͯ͠ɺσʔλͷΓͱΓ͚ͩMethodChannel EventChannelΛར༻͢Δ • ϝΠϯΞϓϦͱผʹFlutterEngineFlutterViewControllerΛ༻ҙͯ͠Flutter Ͱ࣮͢Δ
FlutterͷΈ Flutter Engine Dart Framework Platform-Speci f i c
App Clips 10MB 10.6MB <
App Clips
Widgets (iOS 14) Widgets Flutter shared_preferences ߋ৽(MethodChannel)