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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
75
Hello Flutter!
diegoveloper
0
160
Android Intents using Dart & Henson
diegoveloper
0
89
Other Decks in Technology
See All in Technology
FinTech SREのAWSサービス活用/Leveraging AWS Services in FinTech SRE
maaaato
0
130
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
5
1.6k
Bedrock PolicyでAmazon Bedrock Guardrails利用を強制してみた
yuu551
0
250
登壇駆動学習のすすめ — CfPのネタの見つけ方と書くときに意識していること
bicstone
3
120
Kiro IDEのドキュメントを全部読んだので地味だけどちょっと嬉しい機能を紹介する
khmoryz
0
200
Digitization部 紹介資料
sansan33
PRO
1
6.8k
Oracle AI Database移行・アップグレード勉強会 - RAT活用編
oracle4engineer
PRO
0
100
SREのプラクティスを用いた3領域同時 マネジメントへの挑戦 〜SRE・情シス・セキュリティを統合した チーム運営術〜
coconala_engineer
2
670
SREじゃなかった僕らがenablingを通じて「SRE実践者」になるまでのリアル / SRE Kaigi 2026
aeonpeople
6
2.5k
10Xにおける品質保証活動の全体像と改善 #no_more_wait_for_test
nihonbuson
PRO
2
320
顧客との商談議事録をみんなで読んで顧客解像度を上げよう
shibayu36
0
260
Agile Leadership Summit Keynote 2026
m_seki
1
650
Featured
See All Featured
Believing is Seeing
oripsolob
1
56
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
0
260
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
280
Darren the Foodie - Storyboard
khoart
PRO
2
2.4k
We Have a Design System, Now What?
morganepeng
54
8k
Designing Powerful Visuals for Engaging Learning
tmiket
0
240
For a Future-Friendly Web
brad_frost
182
10k
Tell your own story through comics
letsgokoyo
1
810
BBQ
matthewcrist
89
10k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.1k
Utilizing Notion as your number one productivity tool
mfonobong
3
220
Amusing Abliteration
ianozsvald
0
100
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