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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Kyohei Ito
December 21, 2020
Programming
1.2k
1
Share
flutter_kmm_1.pdf
Kyohei Ito
December 21, 2020
More Decks by Kyohei Ito
See All by Kyohei Ito
flutter_kaigi_2025.pdf
kyoheig3
2
950
layerx_20241129.pdf
kyoheig3
2
500
flutterkaigi_2024.pdf
kyoheig3
0
1.6k
flutter_kaigi_2021.pdf
kyoheig3
0
1.1k
ca.swift_10.pdf
kyoheig3
0
710
iosdc_2018.pdf
kyoheig3
2
3.2k
orecon_vol1.pdf
kyoheig3
4
1.7k
iosdc_2017.pdf
kyoheig3
4
930
ca.swift_2.pdf
kyoheig3
9
1.4k
Other Decks in Programming
See All in Programming
Don't Prompt Harder, Structure Better
kitasuke
0
790
The Less-Told Story of Socket Timeouts
coe401_
3
780
アクセシビリティ試験の"その後"を仕組み化する
yuuumiravy
1
180
Terraform言語の静的解析 / static analysis of Terraform language
wata727
1
120
Vibe NLP for Applied NLP
inesmontani
PRO
0
520
tRPCの概要と少しだけパフォーマンス
misoton665
2
240
Spec Driven Development | AI Summit Vilnius
danielsogl
PRO
1
120
GNU Makeの使い方 / How to use GNU Make
kaityo256
PRO
16
5.6k
個人的に嬉しかったpnpmの新機能・3選
matsuo_atsushi
0
100
Road to RubyKaigi: Play Hard(ware)
makicamel
1
500
Lightning-Fast Method Calls with Ruby 4.1 ZJIT / RubyKaigi 2026
k0kubun
3
1.8k
의존성 주입과 모듈화
fornewid
0
150
Featured
See All Featured
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.3k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
270
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
490
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
190
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.1k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
Rails Girls Zürich Keynote
gr2m
96
14k
Utilizing Notion as your number one productivity tool
mfonobong
4
300
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
150
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!