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
90
Flutter Favoriteプログラムについて調べてみた
k9i
0
1.2k
2023年のFlutter(オフライン)イベントを振り返る
k9i
0
230
Flutterの魅力とコミュニティ活動
k9i
0
420
Flutterエンジニア向け?おすすめmac向けアプリ
k9i
0
420
ゆめみの謎制度「フルリモし放題制度 ㊗️ MAX」で買ったものを紹介します
k9i
0
460
Flutter導入時に警戒すべき要件X選
k9i
1
810
FlutterでTikTokログインができるパッケージを作った話 (short ver.)
k9i
0
700
Other Decks in Technology
See All in Technology
Create a Rails8 responsive app with Gemini and RubyLLM
palladius
0
140
AWS アーキテクチャ作図入門/aws-architecture-diagram-101
ma2shita
29
9.5k
~宇宙最速~2025年AWS Summit レポート
satodesu
1
1.4k
Clineを含めたAIエージェントを 大規模組織に導入し、投資対効果を考える / Introducing AI agents into your organization
i35_267
4
1.4k
AWS Summit Japan 2025 Community Stage - App workflow automation by AWS Step Functions
matsuihidetoshi
1
140
Definition of Done
kawaguti
PRO
6
460
IIWレポートからみるID業界で話題のMCP
fujie
0
740
20250625 Snowflake Summit 2025活用事例 レポート / Nowcast Snowflake Summit 2025 Case Study Report
kkuv
1
230
本部長の代わりに提案書レビュー! KDDI営業が毎日使うAIエージェント「A-BOSS」開発秘話
minorun365
PRO
14
2.3k
Snowflake Summit 2025全体振り返り / Snowflake Summit 2025 Overall Review
mtpooh
2
220
登壇ネタの見つけ方 / How to find talk topics
pinkumohikan
3
300
Observability infrastructure behind the trillion-messages scale Kafka platform
lycorptech_jp
PRO
0
130
Featured
See All Featured
Done Done
chrislema
184
16k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.4k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
281
13k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
Into the Great Unknown - MozCon
thekraken
39
1.9k
Music & Morning Musume
bryan
46
6.6k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
22k
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.8k
Six Lessons from altMBA
skipperchong
28
3.8k
The Invisible Side of Design
smashingmag
299
51k
Building Adaptive Systems
keathley
43
2.6k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
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