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
62
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
61
Beautiful apps in record time with Flutter
diegoveloper
0
52
Hello Flutter - Beautiful apps in record time
diegoveloper
0
130
Introducción a Flutter
diegoveloper
1
180
Flutter y el impacto en el mercado actual de apps móviles
diegoveloper
0
130
Let's start with Flutter
diegoveloper
0
73
Hello Flutter!
diegoveloper
0
150
Android Intents using Dart & Henson
diegoveloper
0
86
Other Decks in Technology
See All in Technology
Intro to Software Startups: Spring 2025
arnabdotorg
0
260
事業特性から逆算したインフラ設計
upsider_tech
0
110
夏休みWebアプリパフォーマンス相談室/web-app-performance-on-radio
hachi_eiji
0
160
「Roblox」の開発環境とその効率化 ~DAU9700万人超の巨大プラットフォームの開発 事始め~
keitatanji
0
120
Telemetry APIから学ぶGoogle Cloud ObservabilityとOpenTelemetryの現在 / getting-started-telemetry-api-with-google-cloud
k6s4i53rx
0
150
OPENLOGI Company Profile for engineer
hr01
1
38k
Cloud WANの基礎から応用~少しだけDeep Dive~
masakiokuda
3
100
2025新卒研修・HTML/CSS #弁護士ドットコム
bengo4com
3
13k
ZOZOTOWNの大規模マーケティングメール配信を支えるアーキテクチャ
zozotech
PRO
0
330
AI時代の大規模データ活用とセキュリティ戦略
ken5scal
0
130
ファッションコーディネートアプリ「WEAR」における、Vertex AI Vector Searchを利用したレコメンド機能の開発・運用で得られたノウハウの紹介
zozotech
PRO
0
320
家族の思い出を形にする 〜 1秒動画の生成を支えるインフラアーキテクチャ
ojima_h
3
1.1k
Featured
See All Featured
It's Worth the Effort
3n
185
28k
Speed Design
sergeychernyshev
32
1.1k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.8k
A better future with KSS
kneath
239
17k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.4k
The World Runs on Bad Software
bkeepers
PRO
70
11k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
How GitHub (no longer) Works
holman
314
140k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Practical Orchestrator
shlominoach
190
11k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
110
19k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.6k
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