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: Don't be afraid, State Management is y...
Search
Diego Velásquez
November 02, 2019
Technology
2
64
Flutter: Don't be afraid, State Management is your friend
Flutter state management using Provider
Live code:
https://github.com/diegoveloper/flutter_codelabs
Diego Velásquez
November 02, 2019
Tweet
Share
More Decks by Diego Velásquez
See All by Diego Velásquez
Stateful & Async Widgets
diegoveloper
0
110
Bienvenido a Flutter
diegoveloper
0
62
Beautiful apps in record time with Flutter
diegoveloper
0
53
Hello Flutter - Beautiful apps in record time
diegoveloper
0
130
Introducción a Flutter
diegoveloper
1
190
Flutter y el impacto en el mercado actual de apps móviles
diegoveloper
0
130
Let's start with Flutter
diegoveloper
0
76
Hello Flutter!
diegoveloper
0
160
Android Intents using Dart & Henson
diegoveloper
0
89
Other Decks in Technology
See All in Technology
Amazon Qはアマコネで頑張っています〜 Amazon Q in Connectについて〜
yama3133
1
100
AI時代のIssue駆動開発のススメ
moongift
PRO
0
200
AIエージェント勉強会第3回 エージェンティックAIの時代がやってきた
ymiya55
0
110
形式手法特論:SMT ソルバで解く認可ポリシの静的解析 #kernelvm / Kernel VM Study Tsukuba No3
ytaka23
1
780
PostgreSQL 18のNOT ENFORCEDな制約とDEFERRABLEの関係
yahonda
0
110
20年以上続く PHP 大規模プロダクトを Kubernetes へ ── クラウド基盤刷新プロジェクトの4年間
oogfranz
PRO
0
170
プログラミング不要! テスト自動化における生成AI使いこなし術
magicpod
1
110
Phase12_総括_自走化
overflowinc
0
1.4k
CloudFrontのHost Header転送設定でパケットの中身はどう変わるのか?
nagisa53
1
160
スピンアウト講座06_認証系(API-OAuth-MCP)入門
overflowinc
0
1.1k
データマネジメント戦略Night - 4社のリアルを語る会
ktatsuya
1
220
VSCode中心だった自分がターミナル沼に入門した話
sanogemaru
0
190
Featured
See All Featured
We Are The Robots
honzajavorek
0
200
Between Models and Reality
mayunak
2
240
Amusing Abliteration
ianozsvald
0
140
Designing for Timeless Needs
cassininazir
0
170
The World Runs on Bad Software
bkeepers
PRO
72
12k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
690
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
120
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.9k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
130
For a Future-Friendly Web
brad_frost
183
10k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
130
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
490
Transcript
Don’t be afraid, State Management is your Friend Diego Velásquez
López @diegoveloper
Diego Velásquez López Mobile Software Architect About me • Google
Developer Expert Flutter • Software engineer • Android / iOS / Flutter • Creator of 2 Android apps (+150k downloads): ◦ Pseudocode ◦ Quick Printer • Founder & Organizer @ Flutter Peru @diegoveloper https://aeyrium.com/
• Multiplatform framework created by Google. • Works for Android/iOS/Web/Desktop.
• We can create beautiful and native apps with a single codebase.
State Management ??
What Why How
What
Let’s Code!
None
Why • Keep UI separated from business logic. • Increase
the performance of your app. • Allows adding features quickly without breaking the code neither sacrificing code quality. • Easy to understand; hard to break. • Easy to test.
How • Using setState() and StatefulWidgets • ScopedModel • BLoC
(Business Logic Component) • Redux • MobX • Provider
Provider https://pub.dev/packages/provider Expose/Provide Read/Listen
Expose/Provide
Read/Listen 1- 2-
ChangeNotifierProvider (CartModel) (Get Cart Items) (Add Item) (Clear Items)
Summary There’s not right or wrong solution. Choose the one
that best suits your needs.
Questions •
[email protected]
• https://github.com/diegoveloper/ • https://medium.com/@diegoveloper • https://twitter.com/diegoveloper
References • https://flutter.dev/docs/development/data-and-backend/state-mgmt/intro • https://github.com/diegoveloper/flutter_codelabs
• https://www.meetup.com/Flutter-Peru/ • https://twitter.com/FlutterPeru • https://www.facebook.com/FlutterPeru