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_kmm_1.pdf
Search
Kyohei Ito
December 21, 2020
Programming
1
1.1k
flutter_kmm_1.pdf
Kyohei Ito
December 21, 2020
Tweet
Share
More Decks by Kyohei Ito
See All by Kyohei Ito
layerx_20241129.pdf
kyoheig3
2
430
flutterkaigi_2024.pdf
kyoheig3
0
1.1k
flutter_kaigi_2021.pdf
kyoheig3
0
1.1k
ca.swift_10.pdf
kyoheig3
0
670
iosdc_2018.pdf
kyoheig3
2
3k
orecon_vol1.pdf
kyoheig3
4
1.7k
iosdc_2017.pdf
kyoheig3
4
890
ca.swift_2.pdf
kyoheig3
9
1.3k
ca.swift.pdf
kyoheig3
1
2.1k
Other Decks in Programming
See All in Programming
Software Architecture
hschwentner
6
2.3k
2分台で1500examples完走!爆速CIを支える環境構築術 - Kaigi on Rails 2025
falcon8823
3
3.7k
実践Claude Code:20の失敗から学ぶAIペアプログラミング
takedatakashi
2
580
TFLintカスタムプラグインで始める Terraformコード品質管理
bells17
2
190
Things You Thought You Didn’t Need To Care About That Have a Big Impact On Your Job
hollycummins
0
230
SwiftDataを使って10万件のデータを読み書きする
akidon0000
0
130
はじめてのDSPy - 言語モデルを『プロンプト』ではなく『プログラミング』するための仕組み
masahiro_nishimi
2
510
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
150
アメ車でサンノゼを走ってきたよ!
s_shimotori
0
230
kiroとCodexで最高のSpec駆動開発を!!数時間で web3ネイティブなミニゲームを作ってみたよ!
mashharuki
0
560
monorepo の Go テストをはやくした〜い!~最小の依存解決への道のり~ / faster-testing-of-monorepos
convto
2
500
作って理解するGOCACHEPROG / Go Conference 2025(Workshop)
mazrean
0
100
Featured
See All Featured
The Pragmatic Product Professional
lauravandoore
36
6.9k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.6k
A Modern Web Designer's Workflow
chriscoyier
697
190k
Large-scale JavaScript Application Architecture
addyosmani
514
110k
What's in a price? How to price your products and services
michaelherold
246
12k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
45
2.5k
A Tale of Four Properties
chriscoyier
161
23k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
15k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
Building an army of robots
kneath
306
46k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.7k
Transcript
ಡղ Flutter Hooks Flutter × Kotlin Multiplatform #1 2020/12/21
About Me ҏ౻ɹګฏ Github : KyoheiG3 Twitter : @KyoheiG3
Hooksͷ͍ํ ← Γ·ͤΜ
Hooksͷಈ͖Λཧղ͢Δ ← ඪ ※ίʔυଟΊͰ͢
What is Hooks?
What is Hooks? • ͱͱReactJSͷ16.8(2019/2Ҏ߱)ʹՃ͞Εͨػೳ • Remi Rousselet͞Μ͕2018/12ʹinitial commit
Why Hooks?
None
None
Why Hooks? • ঢ়ଶͷཧͳͲΛclassΛΘͣʹ୯ମͰߦ͏͜ͱ͕Ͱ͖Δ Α͏ʹͳΔ
Flutter?
None
None
Why Hooks? • ঢ়ଶͷཧͳͲΛStatefulWidgetΛΘͣʹ୯ମͰߦ͏͜ ͱ͕Ͱ͖ΔΑ͏ʹͳΔ
Principle
None
Code Reading
HookWidget & HookElement
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
Hook & HookState
None
None
None
None
None
Existing hooks
https://github.com/rrousselGit/flutter_hooks#existing-hooks
Custom Hook
Custom Hook • class • function
None
None
None
None
None
None
Rules
None
None
About hot-reload
None
None
None
Thanks!