Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Riverpodに機能追加したときの話
Search
K9i - Kota Hayashi
June 05, 2023
Technology
1.4k
4
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Riverpodに機能追加したときの話
YOUTRUST x ゆめみ Flutter LT会@渋谷 #yumemi_growの資料です
K9i - Kota Hayashi
June 05, 2023
More Decks by K9i - Kota Hayashi
See All by K9i - Kota Hayashi
北九州でFlutterハンズオンをしたので雑多に振り返る
k9i
0
110
FFF(Fukuoka Flutter Fanclub)の紹介
k9i
0
160
Flutter Favoriteプログラムについて調べてみた
k9i
0
1.4k
2023年のFlutter(オフライン)イベントを振り返る
k9i
0
290
Flutterの魅力とコミュニティ活動
k9i
0
560
Flutterエンジニア向け?おすすめmac向けアプリ
k9i
0
520
ゆめみの謎制度「フルリモし放題制度 ㊗️ MAX」で買ったものを紹介します
k9i
0
530
Flutter導入時に警戒すべき要件X選
k9i
1
930
FlutterでTikTokログインができるパッケージを作った話 (short ver.)
k9i
0
820
Other Decks in Technology
See All in Technology
アプリをもっと"iOSアプリっぽく"する小さな工夫 / Small Touches That Make Your App Feel More Like an iOS App
matsuji
2
960
Cloudflare Workers 向けアプリを C# で構築する ~WASM Native AOT への道~
nenonaninu
1
430
株式会社シーエーシー エンジニア向け会社紹介資料
cac
0
57k
山手線を徒歩で一周してわかった、 位置情報アプリは「足」が最強のデバッガー
hinakko
0
170
負債のメタファと2026年 / Debt Metaphor in Agentic Engineering Age 202609 Edition
twada
PRO
10
4.1k
Genieを崇めよ
kameitomohiro
0
160
目の前の楽しいが人生を変える - コミュニティの螺旋の歩き方と楽しむコツ / change your life
soudai
PRO
5
640
技術的負債から考える、AI時代のエンジニアリング投資 — ビズリーチの技術的負債と向き合った経験から、変更し続けられるソフトウェアを考える/ technical-debt-con2026
visional_engineering_and_design
4
3.2k
beyond jj: config & tools ecosystem
indirect
0
4.9k
空間オーディオで過去の 自分(ゴースト)と競うランニング 〜HealthKitのルートを足音に変える実装〜
nao_randd
0
230
AI de Idea
kawaguti
PRO
2
120
AIは推し活である。
kurazuuuuuu
1
600
Featured
See All Featured
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
280
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Context Engineering - Making Every Token Count
addyosmani
9
1.1k
Six Lessons from altMBA
skipperchong
29
4.5k
Test your architecture with Archunit
thirion
2
2.4k
The SEO identity crisis: Don't let AI make you average
varn
0
560
Utilizing Notion as your number one productivity tool
mfonobong
4
590
Practical Orchestrator
shlominoach
192
12k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.4k
Code Reviewing Like a Champion
maltzj
528
40k
The Language of Interfaces
destraynor
162
27k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.1k
Transcript
Riverpodに機能追加したとき の話 YOUTRUST x ゆめみ Flutter LT会@渋谷 Kota Hayashi (K9i)
自己紹介
Riverpod? - 日本だと特に人気が高い状態管理ライブラリ - 最近はデファクトスタンダード? - 世界的にはBLoCなんかも人気 - https://docs-v2.riverpod.dev/
追加した機能
追加した機能 Riverpod関連のWidget を相互に変換する
もとからあった機能 - StatelessWidget、StatefulWidget、ConsumerWidget、 ConsumerStatefulWidgetをConsumerWidgetか ConsumerStatefulWidgetに変換するものはすでにあった - hooks系を追加して、すべて相互に変換できるようにした
変更したパッケージ - Riverpodはマルチパッケージ構成 - riverpod - flutter_riverpod - hooks_riverpod -
riverpod_generator - riverpod_lint - など
変更したパッケージ - Riverpodはマルチパッケージ構成 - riverpod - flutter_riverpod - hooks_riverpod -
riverpod_generator - riverpod_lint - など 変更したのはこれ
機能追加の流れ - 気合で実装(割りとなんとかなった) - hooks関連の問題が発覚 - HookWidgetなどはhooks_riverpodを使ってるときだけ変換したい → custom_lintで利用パッケージを知るすべが無い
remiさんがcustom_lintを修正してくれた
remiさんがcustom_lintを修正してくれた PR https://github.com/invertase/dart_custom_lint /pull/137 Changelog https://pub.dev/packages/custom_lint_builder /changelog#033---2023-04-06
無事リリース🥳
おわり - Riverpod関連のWidgetを変換する機能を追加したよ - 今回の実装のPR - https://github.com/rrousselGit/riverpod/pull/2306