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
61
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
100
Bienvenido a Flutter
diegoveloper
0
60
Beautiful apps in record time with Flutter
diegoveloper
0
51
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
140
Android Intents using Dart & Henson
diegoveloper
0
82
Other Decks in Technology
See All in Technology
Agentic DevOps時代の生存戦略
kkamegawa
0
940
讓測試不再 BB! 從 BDD 到 CI/CD, 不靠人力也能 MVP
line_developers_tw
PRO
0
1.1k
原則から考える保守しやすいComposable関数設計
moriatsushi
3
500
登壇ネタの見つけ方 / How to find talk topics
pinkumohikan
3
250
Amazon Q Developer for GitHubとAmplify Hosting でサクッとデジタル名刺を作ってみた
kmiya84377
0
3.5k
AIのAIによるAIのための出力評価と改善
chocoyama
0
490
白金鉱業Meetup_Vol.19_PoCはデモで語れ!顧客の本音とインサイトを引き出すソリューション構築
brainpadpr
2
470
TerraformをSaaSで使うとAzureの運用がこんなに楽ちん!HCP Terraformって何?
mnakabayashi
0
300
Snowflake Summit 2025全体振り返り / Snowflake Summit 2025 Overall Review
mtpooh
2
190
AWS Summit Japan 2025 Community Stage - App workflow automation by AWS Step Functions
matsuihidetoshi
1
140
Microsoft Build 2025 技術/製品動向 for Microsoft Startup Tech Community
torumakabe
1
200
Windows 11 で AWS Documentation MCP Server 接続実践/practical-aws-documentation-mcp-server-connection-on-windows-11
emiki
0
690
Featured
See All Featured
Adopting Sorbet at Scale
ufuk
77
9.4k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
2.8k
Navigating Team Friction
lara
187
15k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
22k
Intergalactic Javascript Robots from Outer Space
tanoku
271
27k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
43
2.4k
Fireside Chat
paigeccino
37
3.5k
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
How STYLIGHT went responsive
nonsquared
100
5.6k
Thoughts on Productivity
jonyablonski
69
4.7k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
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