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
Riverpodに機能追加したときの話
Search
K9i - Kota Hayashi
June 05, 2023
Technology
4
1.1k
Riverpodに機能追加したときの話
YOUTRUST x ゆめみ Flutter LT会@渋谷 #yumemi_growの資料です
K9i - Kota Hayashi
June 05, 2023
Tweet
Share
More Decks by K9i - Kota Hayashi
See All by K9i - Kota Hayashi
北九州でFlutterハンズオンをしたので雑多に振り返る
k9i
0
61
FFF(Fukuoka Flutter Fanclub)の紹介
k9i
0
92
Flutter Favoriteプログラムについて調べてみた
k9i
0
1.2k
2023年のFlutter(オフライン)イベントを振り返る
k9i
0
230
Flutterの魅力とコミュニティ活動
k9i
0
430
Flutterエンジニア向け?おすすめmac向けアプリ
k9i
0
420
ゆめみの謎制度「フルリモし放題制度 ㊗️ MAX」で買ったものを紹介します
k9i
0
460
Flutter導入時に警戒すべき要件X選
k9i
1
810
FlutterでTikTokログインができるパッケージを作った話 (short ver.)
k9i
0
710
Other Decks in Technology
See All in Technology
CDK Vibe Coding Fes
tomoki10
0
120
Getting to Know Your Legacy (System) with AI-Driven Software Archeology (WeAreDevelopers World Congress 2025)
feststelltaste
1
160
United airlines®️ USA Contact Numbers: Complete 2025 Support Guide
unitedflyhelp
0
330
Reach American Airlines®️ Instantly: 19 Calling Methods for Fast Support in the USA
flyamerican
1
170
データ基盤からデータベースまで?広がるユースケースのDatabricksについて教えるよ!
akuwano
3
130
〜『世界中の家族のこころのインフラ』を目指して”次の10年”へ〜 SREが導いたグローバルサービスの信頼性向上戦略とその舞台裏 / Towards the Next Decade: Enhancing Global Service Reliability
kohbis
2
310
Model Mondays S2E04: AI Developer Experiences
nitya
0
190
クラウド開発の舞台裏とSRE文化の醸成 / SRE NEXT 2025 Lunch Session
kazeburo
1
240
CDKTFについてざっくり理解する!!~CloudFormationからCDKTFへ変換するツールも作ってみた~
masakiokuda
1
170
【LT会登壇資料】TROCCO新コネクタ「スマレジ」を活用した直営店データの分析
kazari0425
1
110
Glacierだからってコストあきらめてない? / JAWS Meet Glacier Cost
taishin
1
170
成長し続けるアプリのためのテストと設計の関係、そして意思決定の記録。
sansantech
PRO
0
130
Featured
See All Featured
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.4k
Statistics for Hackers
jakevdp
799
220k
Art, The Web, and Tiny UX
lynnandtonic
299
21k
Automating Front-end Workflow
addyosmani
1370
200k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
60k
The Cost Of JavaScript in 2023
addyosmani
51
8.5k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
20
1.3k
Mobile First: as difficult as doing things right
swwweet
223
9.7k
Practical Orchestrator
shlominoach
189
11k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
138
34k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
Navigating Team Friction
lara
187
15k
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