Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Flutter: Don't be afraid, State Management is your friend

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

More Decks by Diego Velásquez

Other Decks in Technology

Transcript

  1. 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/
  2. • Multiplatform framework created by Google. • Works for Android/iOS/Web/Desktop.

    • We can create beautiful and native apps with a single codebase.
  3. 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.
  4. How • Using setState() and StatefulWidgets • ScopedModel • BLoC

    (Business Logic Component) • Redux • MobX • Provider