~/talk

State management in flutter using Mobx

Talkat droidcon APAC 2020 · 2020-12-14..12-15· [flutter, frontend-architecture]
links:none on file
slides:none on file

Shows concrete use of MobX with Flutter: uses mobx and mobx_codegen plus build_runner, generates .g.dart stores and reduces boilerplate, and uses Provider to inject a theme store and a counter store. Demonstrates a running counter app and a global theme switch that uses an Observer widget* so only the observed subtree rebuilds. Uses autoRun reactions and actions, disposes reactions, and the live demo compiles and updates UI as expected.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:09What is state in Flutter
  3. 4:40State management challenges
  4. 6:26Introducing MobX
  5. 8:51MobX core concepts
  6. 10:53MobX code generation
  7. 13:01Computed observables
  8. 14:03Actions in MobX
  9. 15:51Reactions in MobX
  10. 17:14Live coding setup
  11. 20:24Theme management demo
  12. 29:45Live coding wrap-up
  13. 30:27Q&A and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.